extraArgs, extraArgz, n, numProcessed, passThrough, x, xVertexId, y, yVertexId, z, zVertexIddimensions, inPlace, sameDiff, scalarValue| Constructor and Description |
|---|
ShapeOp() |
ShapeOp(INDArray x)
An op for one ndarray
|
ShapeOp(INDArray x,
INDArray z)
Specify an alternative result array
|
ShapeOp(INDArray x,
INDArray y,
INDArray z,
long n) |
ShapeOp(INDArray x,
INDArray z,
long n)
Specify an alternative output array
|
ShapeOp(SameDiff sameDiff) |
ShapeOp(SameDiff sameDiff,
SDVariable i_v,
boolean inPlace) |
ShapeOp(SameDiff sameDiff,
SDVariable i_v,
int[] shape,
boolean inPlace,
Object[] extraArgs) |
| Modifier and Type | Method and Description |
|---|---|
List<int[]> |
calculateOutputShape()
Calculate
the output shape for this op
|
Op.Type |
opType()
The type of the op
|
equals, exec, exec, extraArgs, extraArgsBuff, extraArgsDataBuff, getOpType, hashCode, init, initFromOnnx, initFromTensorFlow, isExecSpecial, isPassThrough, n, numProcessed, outputVariables, setN, setX, setY, setZ, toCustomOp, toString, x, y, zarg, args, asProperties, attributeAdaptersForFunction, configFieldName, diff, doDiff, dup, f, getValue, hasPlaceHolderInputs, isConfigProperties, larg, mappingsForFunction, onnxName, onnxNames, opName, opNum, outputVariables, propertiesForFunction, rarg, resolvePropertiesFromSameDiffBeforeExecution, setInstanceId, setValueFor, tensorflowName, tensorflowNamesclone, finalize, getClass, notify, notifyAll, wait, wait, waitopName, opNum, setExtraArgspublic ShapeOp()
public ShapeOp(SameDiff sameDiff)
public ShapeOp(SameDiff sameDiff, SDVariable i_v, boolean inPlace)
public ShapeOp(SameDiff sameDiff, SDVariable i_v, int[] shape, boolean inPlace, Object[] extraArgs)
public ShapeOp(INDArray x, INDArray z, long n)
x - the inputz - the outputn - the number of elements to iterate onpublic ShapeOp(INDArray x)
x - the ndarraypublic List<int[]> calculateOutputShape()
DifferentialFunctioncalculateOutputShape in class DifferentialFunctionpublic Op.Type opType()
DifferentialFunctionopType in class DifferentialFunctionCopyright © 2018. All rights reserved.