If you are getting:
One of the simple solution is to do something like mytensor.tag.test_value = 1.
mytensor.tag.test_value = 1.