Skip to content


Fully-connected multiplier.

This layer computes a matrix product of input and kernel.


  • has_relu : Boolean, whether the layer applies a ReLU function to the output.
    The default is false.
  • relu_max_value : Number, the max value of ReLU output.
    Valid only when has_relu is true and relu_max_value > 0.0f.
    The default is -1.0f, i.e. there is no max value.


  • kernel : 2D tensor [channels, filters], kernel (mandatory).
  • bias : 1D tensor [filters], bias (optional).