org.nd4j.linalg.api.ops.impl.meta.InvertedPredicateMetaOp Maven / Gradle / Ivy
package org.nd4j.linalg.api.ops.impl.meta;
import org.nd4j.linalg.api.ndarray.INDArray;
import org.nd4j.linalg.api.ops.Op;
import org.nd4j.linalg.api.ops.ScalarOp;
import org.nd4j.linalg.api.ops.TransformOp;
import org.nd4j.linalg.api.ops.grid.OpDescriptor;
/**
* This MetaOp covers case, when Op A and Op B are both using linear memory access
*
* You're NOT supposed to directly call this op. Do it on your own risk, only if you're absolutely have to.
*
* @author [email protected]
*/
public class InvertedPredicateMetaOp extends BaseMetaOp {
public InvertedPredicateMetaOp() {
}
public InvertedPredicateMetaOp(INDArray x, INDArray y) {
super(x, y);
}
public InvertedPredicateMetaOp(Op opA, Op opB) {
super(opA, opB);
}
public InvertedPredicateMetaOp(OpDescriptor opA, OpDescriptor opB) {
super(opA, opB);
}
public InvertedPredicateMetaOp(ScalarOp opA, TransformOp opB) {
super(opA, opB);
}
public InvertedPredicateMetaOp(TransformOp opA, TransformOp opB) {
super(opA, opB);
}
public InvertedPredicateMetaOp(TransformOp opA, ScalarOp opB) {
super(opA, opB);
}
public InvertedPredicateMetaOp(ScalarOp opA, ScalarOp opB) {
super(opA, opB);
}
@Override
public int opNum() {
return 3;
}
@Override
public String name() {
return "meta_predicate_inverted";
}
}