@property<EOL><INDENT>def value(self):<DEDENT>
if self._value is None:<EOL><INDENT>try:<EOL><INDENT>self._value = self.distribution.sample(self.sample_shape_tensor())<EOL><DEDENT>except NotImplementedError:<EOL><INDENT>raise NotImplementedError(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>.format(self.distribution.__class__.__name__))<EOL><DEDENT><DEDENT>return self._value<EOL>
Get tensor that the random variable corresponds to.