torch.distributions.transforms.Transform.forward_shape
Transform.forward_shape(shape: readonly number[]): number[]Infer the shape of the forward computation.
Parameters
shapereadonly number[]
Returns
number[]Transform.forward_shape(shape: readonly number[]): number[]Infer the shape of the forward computation.
shapereadonly number[]number[]