Optional axesDictionary mapping integer axes to a specific dimension value.
Optional dtypeExpected datatype of the input.
Optional maxNDimMaximum rank of the input.
Optional minNDimMinimum rank of the input.
Optional ndimExpected rank of the input.
Optional shapeExpected shape of the input (may include null for unchecked axes).
Generated using TypeDoc
Specifies the ndim, dtype and shape of every input to a layer.
Every layer should expose (if appropriate) an
inputSpecattribute: a list of instances of InputSpec (one per input tensor).A null entry in a shape is compatible with any dimension, a null shape is compatible with any shape.