Class DFunctionLinear_F64

java.lang.Object
deepboof.impl.forward.standard.BaseFunction<T>
deepboof.impl.backward.standard.BaseDFunction<deepboof.tensors.Tensor_F64>
deepboof.impl.backward.standard.DFunctionLinear_F64
All Implemented Interfaces:
DFunctionLinear<deepboof.tensors.Tensor_F64>, deepboof.DFunction<deepboof.tensors.Tensor_F64>, deepboof.forward.FunctionLinear<deepboof.tensors.Tensor_F64>, deepboof.Function<deepboof.tensors.Tensor_F64>

public class DFunctionLinear_F64
extends BaseDFunction<deepboof.tensors.Tensor_F64>
implements DFunctionLinear<deepboof.tensors.Tensor_F64>
Implementation of DFunctionLinear for Tensor_F64
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected int D  
    protected int M  

    Fields inherited from class deepboof.impl.backward.standard.BaseDFunction

    learningMode

    Fields inherited from class deepboof.impl.forward.standard.BaseFunction

    miniBatchSize, parameters, shapeInput, shapeOutput, shapeParameters
  • Constructor Summary

    Constructors
    Constructor Description
    DFunctionLinear_F64​(int numberOfOutputs)  
  • Method Summary

    Modifier and Type Method Description
    protected void _backwards​(deepboof.tensors.Tensor_F64 input, deepboof.tensors.Tensor_F64 dout, deepboof.tensors.Tensor_F64 gradientInput, List<deepboof.tensors.Tensor_F64> gradientParameters)  
    void _forward​(deepboof.tensors.Tensor_F64 input, deepboof.tensors.Tensor_F64 output)  
    void _initialize()  
    void _setParameters​(List<deepboof.tensors.Tensor_F64> parameters)  
    int getNumberOfOutputs()  
    Class<deepboof.tensors.Tensor_F64> getTensorType()  

    Methods inherited from class deepboof.impl.backward.standard.BaseDFunction

    backwards, evaluating, isLearning, learning

    Methods inherited from class deepboof.impl.forward.standard.BaseFunction

    forward, getOutputShape, getParameters, getParameterShapes, initialize, setParameters

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface deepboof.DFunction

    backwards, evaluating, isLearning, learning

    Methods inherited from interface deepboof.Function

    getOutputShape, getParameters, getParameterShapes, initialize

    Methods inherited from interface deepboof.forward.FunctionLinear

    forward, setParameters
  • Field Details

    • D

      protected int D
    • M

      protected int M
  • Constructor Details

    • DFunctionLinear_F64

      public DFunctionLinear_F64​(int numberOfOutputs)
  • Method Details

    • getNumberOfOutputs

      public int getNumberOfOutputs()
      Specified by:
      getNumberOfOutputs in interface deepboof.forward.FunctionLinear<deepboof.tensors.Tensor_F64>
    • _setParameters

      public void _setParameters​(List<deepboof.tensors.Tensor_F64> parameters)
      Specified by:
      _setParameters in class deepboof.impl.forward.standard.BaseFunction<deepboof.tensors.Tensor_F64>
    • _forward

      public void _forward​(deepboof.tensors.Tensor_F64 input, deepboof.tensors.Tensor_F64 output)
      Specified by:
      _forward in class deepboof.impl.forward.standard.BaseFunction<deepboof.tensors.Tensor_F64>
    • _backwards

      protected void _backwards​(deepboof.tensors.Tensor_F64 input, deepboof.tensors.Tensor_F64 dout, deepboof.tensors.Tensor_F64 gradientInput, List<deepboof.tensors.Tensor_F64> gradientParameters)
      Specified by:
      _backwards in class BaseDFunction<deepboof.tensors.Tensor_F64>
    • _initialize

      public void _initialize()
      Specified by:
      _initialize in class deepboof.impl.forward.standard.BaseFunction<deepboof.tensors.Tensor_F64>
    • getTensorType

      public Class<deepboof.tensors.Tensor_F64> getTensorType()
      Specified by:
      getTensorType in interface deepboof.Function<deepboof.tensors.Tensor_F64>