org.nd4j.linalg.api.ops.ShapeOp Maven / Gradle / Ivy
package org.nd4j.linalg.api.ops;
import org.nd4j.linalg.api.ndarray.INDArray;
public abstract class ShapeOp extends BaseOp {
public ShapeOp() {
}
/**
* Specify an alternative output array
*
* @param x the input
* @param z the output
* @param n the number of elements to iterate on
*/
public ShapeOp(INDArray x, INDArray z, long n) {
super(x, z, n);
}
public ShapeOp(INDArray x, INDArray y, INDArray z, long n) {
super(x, y, z, n);
}
/**
* An op for one ndarray
*
* @param x the ndarray
*/
public ShapeOp(INDArray x) {
super(x);
}
/**
* Specify an alternative result array
*
* @param x the input
* @param z the output array
*/
public ShapeOp(INDArray x, INDArray z) {
super(x, z);
}
}