Package deepboof.impl.forward.standard
Class FunctionElementWiseMult_F32
java.lang.Object
deepboof.impl.forward.standard.BaseFunction<T>
deepboof.impl.forward.standard.ElementWiseFunction<Tensor_F32>
deepboof.impl.forward.standard.FunctionElementWiseMult_F32
- All Implemented Interfaces:
FunctionElementWiseMult<Tensor_F32>,Function<Tensor_F32>
public class FunctionElementWiseMult_F32 extends ElementWiseFunction<Tensor_F32> implements FunctionElementWiseMult<Tensor_F32>
Implementation of
FunctionElementWiseMult for Tensor_F32.-
Field Summary
Fields inherited from class deepboof.impl.forward.standard.BaseFunction
miniBatchSize, parameters, shapeInput, shapeOutput, shapeParameters -
Constructor Summary
Constructors Constructor Description FunctionElementWiseMult_F32(float scalar) -
Method Summary
Modifier and Type Method Description void_forward(Tensor_F32 input, Tensor_F32 output)floatgetScalar()Class<Tensor_F32>getTensorType()Returns the type of tensor it can processMethods inherited from class deepboof.impl.forward.standard.ElementWiseFunction
_initialize, _setParametersMethods inherited from class deepboof.impl.forward.standard.BaseFunction
forward, getOutputShape, getParameters, getParameterShapes, initialize, setParametersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface deepboof.Function
getOutputShape, getParameters, getParameterShapes, initialize, setParametersMethods inherited from interface deepboof.forward.FunctionElementWiseMult
forward
-
Constructor Details
-
FunctionElementWiseMult_F32
public FunctionElementWiseMult_F32(float scalar)
-
-
Method Details
-
_forward
- Specified by:
_forwardin classBaseFunction<Tensor_F32>
-
getTensorType
Description copied from interface:FunctionReturns the type of tensor it can process- Specified by:
getTensorTypein interfaceFunction<Tensor_F32>- Returns:
- Type of tensor
-
getScalar
public float getScalar()
-