|View source on GitHub|
Create a random variable for BatchReshape.
tfp.edward2.BatchReshape( *args, **kwargs )
See BatchReshape for more details.
Original Docstring for Distribution
Construct BatchReshape distribution.
distribution: The base distribution instance to reshape. Typically an instance of
Tensorrepresenting the new shape of the batch dimensions. Up to one dimension may contain
-1, meaning the remainder of the batch size.
Truedistribution parameters are checked for validity despite possibly degrading runtime performance. When
Falseinvalid inputs may silently render incorrect outputs.
True, statistics (e.g., mean, mode, variance) use the value
NaNto indicate the result is undefined. When
False, an exception is raised if one or more of the statistic's batch members are undefined.
name: The name to give Ops created by the initializer. Default value:
"BatchReshape" + distribution.name.
batch_shapeis not a vector.
batch_shapehas non-positive elements.
batch_shapesize is not the same as a