Show / Hide Table of Contents

Class Reshape

Reshapes an output to a certain shape.

Inheritance
System.Object
Keras
Base
BaseLayer
Reshape
Implements
System.IDisposable
Inherited Members
BaseLayer.Set(BaseLayer[])
Base.Parameters
Base.None
Base.Init()
Base.ToPython()
Base.InvokeStaticMethod(Object, String, Dictionary<String, Object>)
Base.InvokeMethod(String, Dictionary<String, Object>)
Base.Item[String]
Keras.Instance
Keras.keras
Keras.keras2onnx
Keras.tfjs
Keras.Dispose()
Keras.ToTuple(Array)
Keras.ToList(Array)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Keras.Layers
Assembly: Keras.dll
Syntax
public class Reshape : BaseLayer, IDisposable

Constructors

| Improve this Doc View Source

Reshape(Shape, Shape)

Initializes a new instance of the Reshape class.

Declaration
public Reshape(Shape target_shape, Shape input_shape = null)
Parameters
Type Name Description
Shape target_shape

target shape. Tuple of integers. Does not include the batch axis.

Shape input_shape

Arbitrary, although all dimensions in the input shaped must be fixed. Use the keyword argument input_shape (tuple of integers, does not include the batch axis) when using this layer as the first layer in a model.

Implements

System.IDisposable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX