Class Linear
- java.lang.Object
-
- org.apache.wayang.basic.model.op.Op
-
- org.apache.wayang.basic.model.op.nn.Linear
-
- All Implemented Interfaces:
java.io.Serializable
public class Linear extends Op
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Linear(int inFeatures, int outFeatures, boolean bias)
Linear(int inFeatures, int outFeatures, boolean bias, java.lang.String name)
Linear(int inFeatures, int outFeatures, boolean bias, java.lang.String name, Op.DType dType)
Linear(int inFeatures, int outFeatures, boolean bias, Op.DType dType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getBias()
int
getInFeatures()
int
getOutFeatures()
int
inputsRequired()
-
Methods inherited from class org.apache.wayang.basic.model.op.Op
getDType, getFromList, getName, with
-
-
-
-
Constructor Detail
-
Linear
public Linear(int inFeatures, int outFeatures, boolean bias)
-
Linear
public Linear(int inFeatures, int outFeatures, boolean bias, java.lang.String name)
-
Linear
public Linear(int inFeatures, int outFeatures, boolean bias, Op.DType dType)
-
Linear
public Linear(int inFeatures, int outFeatures, boolean bias, java.lang.String name, Op.DType dType)
-
-
Method Detail
-
getInFeatures
public int getInFeatures()
-
getOutFeatures
public int getOutFeatures()
-
getBias
public boolean getBias()
-
inputsRequired
public int inputsRequired()
- Specified by:
inputsRequired
in classOp
-
-