public static final class Linear.Builder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
Linear |
build()
Returns the constructed
Linear. |
Linear.Builder |
optBias(boolean bias)
Sets the optional parameter that indicates whether to include a bias vector with default
value of true.
|
Linear.Builder |
setOutChannels(long outChannels)
Sets the number of output channels.
|
public Linear.Builder setOutChannels(long outChannels)
outChannels - the number of desired output channelspublic Linear.Builder optBias(boolean bias)
bias - whether to use a bias vector parameterpublic Linear build()
Linear.Linearjava.lang.IllegalArgumentException - if all required parameters (outChannels) have not been
set