public class FunctionLinear_F64 extends BaseFunction<Tensor_F64> implements FunctionLinear<Tensor_F64>
FunctionLinear for Tensor_F64.| Modifier and Type | Field and Description |
|---|---|
protected int |
D |
protected int |
M |
miniBatchSize, parameters, shapeInput, shapeOutput, shapeParameters| Constructor and Description |
|---|
FunctionLinear_F64(int numberOfOutputs) |
| Modifier and Type | Method and Description |
|---|---|
void |
_forward(Tensor_F64 input,
Tensor_F64 output) |
void |
_initialize() |
void |
_setParameters(java.util.List<Tensor_F64> parameters) |
static void |
forwards(Tensor_F64 input,
Tensor_F64 output,
Tensor_F64 weight,
Tensor_F64 bias,
int miniBatchSize,
int D,
int M) |
int |
getNumberOfOutputs()
Returns the number of output elements.
|
java.lang.Class<Tensor_F64> |
getTensorType()
Returns the type of tensor it can process
|
forward, getOutputShape, getParameters, getParameterShapes, initialize, setParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforward, setParametersgetOutputShape, getParameters, getParameterShapes, initializepublic void _forward(Tensor_F64 input, Tensor_F64 output)
_forward in class BaseFunction<Tensor_F64>public static void forwards(Tensor_F64 input, Tensor_F64 output, Tensor_F64 weight, Tensor_F64 bias, int miniBatchSize, int D, int M)
public void _initialize()
_initialize in class BaseFunction<Tensor_F64>public void _setParameters(java.util.List<Tensor_F64> parameters)
_setParameters in class BaseFunction<Tensor_F64>public int getNumberOfOutputs()
FunctionLineargetNumberOfOutputs in interface FunctionLinear<Tensor_F64>public java.lang.Class<Tensor_F64> getTensorType()
FunctiongetTensorType in interface Function<Tensor_F64>