Class MapEvaluationContext<NAMETYPE extends Name>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Tensor getTensor​(java.lang.String name)
      Returns the tensor bound to this name, or null if none
      TensorType getType​(java.lang.String name)
      Returns the type of the tensor with this name by converting from a string name.
      TensorType getType​(NAMETYPE name)
      Returns the type of the tensor with this name.
      void put​(java.lang.String name, Tensor tensor)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapEvaluationContext

        public MapEvaluationContext()
    • Method Detail

      • put

        public void put​(java.lang.String name,
                        Tensor tensor)
      • getType

        public TensorType getType​(java.lang.String name)
        Description copied from interface: TypeContext
        Returns the type of the tensor with this name by converting from a string name.
        Specified by:
        getType in interface TypeContext<NAMETYPE extends Name>
        Returns:
        returns the type of the tensor which will be returned by calling getTensor(name) or null if getTensor will return null.
      • getType

        public TensorType getType​(NAMETYPE name)
        Description copied from interface: TypeContext
        Returns the type of the tensor with this name.
        Specified by:
        getType in interface TypeContext<NAMETYPE extends Name>
        Returns:
        returns the type of the tensor which will be returned by calling getTensor(name) or null if getTensor will return null.