Reshape a tensor to the given shape.
Arguments
- shape
(
integer()|function())
The desired output shape, or afunction(shape)that is called on the shape of the input tensor and returns it.
Reshape a tensor to the given shape.
(integer() | function())
The desired output shape, or a function(shape) that is called on the shape of the input
tensor and returns it.