Class At


  • public class At
    extends Object
    • Constructor Detail

      • At

        public At()
    • Method Detail

      • defaultAt

        public static At defaultAt()
        Returns:
        A new instance with everything set to 0, and operation set to INFERENCE
      • defaultAt

        public static At defaultAt​(@NonNull
                                   @NonNull Operation op)
        Parameters:
        op - Operation
        Returns:
        A new instance with everything set to 0, except for the specified operation
      • epoch

        public int epoch()
        Returns:
        The current training epoch
      • iteration

        public int iteration()
        Returns:
        The current training iteration
      • trainingThreadNum

        public int trainingThreadNum()
        Returns:
        The number of the SameDiff thread
      • javaThreadNum

        public long javaThreadNum()
        Returns:
        The Java/JVM thread number for training
      • operation

        public Operation operation()
        Returns:
        The current operation
      • copy

        public At copy()
        Returns:
        A copy of the current At instance
      • copy

        public At copy​(Operation operation)
        Parameters:
        operation - Operation to set in the new instance
        Returns:
        A copy of the current instance, but with the specified operation