tf.layers.ReshapeLayer module
tf.layers.ReshapeLayer module#
- class tf.layers.ReshapeLayer.ReshapeLayer(*args: Any, **kwargs: Any)#
Bases:
modelzoo.common.tf.layers.BaseLayer.BaseLayer
Wrapper around the Keras layer that reshapes the input.
- call(input, **kwargs)#
Apply the reshape layer to an input.
- Parameters
inputs (Tensor) – A tensor.
- Returns
The tensor after reshape.
- Return type
Tensor