Skip to content

🧪 FlattenLayer

A flatten layer.

Parent type: Layer

Stub code in FlattenLayer.sdsstub

@Experimental
@Category(DataScienceCategory.ModelingQNeuralNetwork)
class FlattenLayer() sub Layer {
    /**
     * Get the input_size of this layer.
     */
    @PythonName("input_size") attr inputSize: ModelImageSize
    /**
     * Get the output_size of this layer.
     */
    @PythonName("output_size") attr outputSize: Int
}

inputSize

Get the input_size of this layer.

Type: ModelImageSize

outputSize

Get the output_size of this layer.

Type: Int