public class Repeat extends DynamicCustomOp
DynamicCustomOp.DynamicCustomOpsBuilder, DynamicCustomOp.SameDiffBuilderinplaceCall, outputVariablesdimensions, extraArgs, inPlace, sameDiff, scalarValue| Constructor and Description |
|---|
Repeat(INDArray[] inputs,
INDArray[] outputs,
int axis) |
Repeat(INDArray[] inputs,
INDArray[] outputs,
List<Double> tArguments,
List<Integer> iArguments,
int axis) |
Repeat(int axis) |
Repeat(SameDiff sameDiff,
SDVariable[] args,
boolean inPlace,
int axis) |
Repeat(SameDiff sameDiff,
SDVariable[] args,
int axis) |
| Modifier and Type | Method and Description |
|---|---|
List<SDVariable> |
doDiff(List<SDVariable> i_v)
The actual implementation for automatic differentiation.
|
void |
initFromOnnx(OnnxProto3.NodeProto node,
SameDiff initWith,
Map<String,OnnxProto3.AttributeProto> attributesForNode,
OnnxProto3.GraphProto graph)
Iniitialize the function from the given
OnnxProto3.NodeProto |
void |
initFromTensorFlow(NodeDef nodeDef,
SameDiff initWith,
Map<String,AttrValue> attributesForNode,
GraphDef graph)
Initialize the function from the given
NodeDef |
Map<String,Map<String,PropertyMapping>> |
mappingsForFunction()
Returns the mappings for a given function (
for tensorflow and onnx import mapping properties
of this function).
|
String |
onnxName()
The opName of this function in onnx
|
String |
opName()
This method returns op opName as string
|
Map<String,Object> |
propertiesForFunction()
Returns the properties for a given function
|
void |
resolvePropertiesFromSameDiffBeforeExecution()
Resolve properties and arguments right before execution of
this operation.
|
String |
tensorflowName()
The opName of this function tensorflow
|
addIArgument, addInputArgument, addOutputArgument, addTArgument, asProperties, assertValidForExecution, builder, calculateOutputShape, getDescriptor, getIArgument, getInputArgument, getOutputArgument, getTArgument, iArgs, inputArguments, numIArguments, numInputArguments, numOutputArguments, numTArguments, opHash, opNum, opType, outputArguments, outputVariables, outputVariables, populateInputsAndOutputsFromSameDiff, removeIArgument, removeInputArgument, removeOutputArgument, removeTArgument, sameDiffBuilder, setInputArgument, setOutputArgument, tArgs, toString, updateInputsFromSameDiffarg, args, attributeAdaptersForFunction, configFieldName, diff, dup, equals, f, getValue, hashCode, hasPlaceHolderInputs, isConfigProperties, larg, onnxNames, rarg, setInstanceId, setValueFor, tensorflowNamesclone, finalize, getClass, notify, notifyAll, wait, wait, waitisInplaceCallpublic Repeat(int axis)
public Repeat(SameDiff sameDiff, SDVariable[] args, int axis)
public Repeat(INDArray[] inputs, INDArray[] outputs, List<Double> tArguments, List<Integer> iArguments, int axis)
public Repeat(SameDiff sameDiff, SDVariable[] args, boolean inPlace, int axis)
public Map<String,Object> propertiesForFunction()
DifferentialFunctionpropertiesForFunction in class DifferentialFunctionpublic String opName()
DynamicCustomOpopName in interface CustomOpopName in class DynamicCustomOppublic Map<String,Map<String,PropertyMapping>> mappingsForFunction()
DifferentialFunctionmappingsForFunction in class DifferentialFunctionpublic void initFromTensorFlow(NodeDef nodeDef, SameDiff initWith, Map<String,AttrValue> attributesForNode, GraphDef graph)
DifferentialFunctionNodeDefinitFromTensorFlow in class DynamicCustomOppublic void initFromOnnx(OnnxProto3.NodeProto node, SameDiff initWith, Map<String,OnnxProto3.AttributeProto> attributesForNode, OnnxProto3.GraphProto graph)
DifferentialFunctionOnnxProto3.NodeProtoinitFromOnnx in class DynamicCustomOppublic void resolvePropertiesFromSameDiffBeforeExecution()
DifferentialFunctionresolvePropertiesFromSameDiffBeforeExecution in class DifferentialFunctionpublic String onnxName()
DifferentialFunctiononnxName in class DynamicCustomOppublic String tensorflowName()
DifferentialFunctiontensorflowName in class DynamicCustomOppublic List<SDVariable> doDiff(List<SDVariable> i_v)
DifferentialFunctiondoDiff in class DynamicCustomOpCopyright © 2018. All rights reserved.