Package org.nd4j.autodiff.listeners
Class At
- java.lang.Object
-
- org.nd4j.autodiff.listeners.At
-
public class At extends Object
-
-
Constructor Summary
Constructors Constructor Description At()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description At
copy()
At
copy(Operation operation)
static At
defaultAt()
static At
defaultAt(@NonNull Operation op)
int
epoch()
int
iteration()
long
javaThreadNum()
Operation
operation()
int
trainingThreadNum()
-
-
-
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
-
-