public class OpExecutionerUtil extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
canDoOpDirectly(INDArray x)
Can we do the op (X = Op(X)) directly on the arrays without breaking X up into 1d tensors first?
In general, this is possible if the elements of X are contiguous in the buffer, OR if every element
of X is at position offset+i*elementWiseStride in the buffer
|
static void |
checkForAny(INDArray z) |
static void |
checkForInf(CustomOp op) |
static void |
checkForInf(INDArray z) |
static void |
checkForInf(Op op) |
static void |
checkForNaN(CustomOp op) |
static void |
checkForNaN(INDArray z) |
static void |
checkForNaN(Op op) |
public static boolean canDoOpDirectly(INDArray x)
public static void checkForNaN(INDArray z)
public static void checkForAny(INDArray z)
public static void checkForInf(INDArray z)
public static void checkForNaN(Op op)
public static void checkForInf(Op op)
public static void checkForInf(CustomOp op)
public static void checkForNaN(CustomOp op)
Copyright © 2018. All rights reserved.