Class SequenceAndParameters<T extends deepboof.Tensor<T>,​F extends deepboof.Function<T>>

java.lang.Object
deepboof.io.torch7.SequenceAndParameters<T,​F>

public class SequenceAndParameters<T extends deepboof.Tensor<T>,​F extends deepboof.Function<T>>
extends java.lang.Object
Storage for a saved DeepBoof a sequence of functions and their learned parameters
  • Field Summary

    Fields 
    Modifier and Type Field Description
    java.util.Map<java.lang.String,​java.util.List<T>> parameters
    Map of learned parameters.
    java.util.List<deepboof.graph.Node<T,​F>> sequence
    Set of functions with auxillary information, e.g.
    java.lang.Class<T> type  
  • Constructor Summary

    Constructors 
    Constructor Description
    SequenceAndParameters()  
  • Method Summary

    Modifier and Type Method Description
    deepboof.graph.FunctionSequence<T,​F> createForward​(int... shape)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • sequence

      public java.util.List<deepboof.graph.Node<T extends deepboof.Tensor<T>,​F extends deepboof.Function<T>>> sequence
      Set of functions with auxillary information, e.g. name
    • parameters

      public java.util.Map<java.lang.String,​java.util.List<T extends deepboof.Tensor<T>>> parameters
      Map of learned parameters. The key is the function's name
    • type

      public java.lang.Class<T extends deepboof.Tensor<T>> type
  • Constructor Details

  • Method Details

    • createForward

      public deepboof.graph.FunctionSequence<T,​F> createForward​(int... shape)