dense
Creates a dense (fully connected) layer with specified output dimension.
Parameters
The number of neurons/output features
Optional identifier for the layer
Configuration block for weights, bias, and activation
Creates a dense layer with precision override and specified output dimension. This allows individual layers to use different precision than the network default.
Parameters
The precision type for this specific layer
The number of neurons/output features
Optional identifier for the layer
Configuration block for weights, bias, and activation
Creates a dense layer without specifying output dimension (must be set in content block).
Parameters
Optional identifier for the layer
Configuration block where output dimension, weights, and bias are set
Creates a dense layer with precision override without specifying output dimension.
Parameters
The precision type for this specific layer
Optional identifier for the layer
Configuration block where output dimension, weights, and bias are set