Package ai.djl.nn.core
Class Multiplication.Builder
java.lang.Object
ai.djl.nn.core.Multiplication.Builder
- Enclosing class:
- Multiplication
The Builder to construct a
Multiplication type of Block.-
Method Details
-
setUnits
Sets the number of output channels.- Parameters:
units- the number of desired output channels- Returns:
- this Builder
-
build
Returns the constructedLinear.- Returns:
- the constructed
Linear - Throws:
IllegalArgumentException- if all required parameters (outChannels) have not been set
-