| Package | Description |
|---|---|
| onnx | |
| org.nd4j.imports.graphmapper.onnx |
| Modifier and Type | Method and Description |
|---|---|
Onnx.TypeProto.Tensor |
Onnx.TypeProto.Tensor.Builder.build() |
Onnx.TypeProto.Tensor |
Onnx.TypeProto.Tensor.Builder.buildPartial() |
static Onnx.TypeProto.Tensor |
Onnx.TypeProto.Tensor.getDefaultInstance() |
Onnx.TypeProto.Tensor |
Onnx.TypeProto.Tensor.getDefaultInstanceForType() |
Onnx.TypeProto.Tensor |
Onnx.TypeProto.Tensor.Builder.getDefaultInstanceForType() |
Onnx.TypeProto.Tensor |
Onnx.TypeProtoOrBuilder.getTensorType()
The type of a tensor.
|
Onnx.TypeProto.Tensor |
Onnx.TypeProto.getTensorType()
The type of a tensor.
|
Onnx.TypeProto.Tensor |
Onnx.TypeProto.Builder.getTensorType()
The type of a tensor.
|
static Onnx.TypeProto.Tensor |
Onnx.TypeProto.Tensor.parseDelimitedFrom(InputStream input) |
static Onnx.TypeProto.Tensor |
Onnx.TypeProto.Tensor.parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static Onnx.TypeProto.Tensor |
Onnx.TypeProto.Tensor.parseFrom(byte[] data) |
static Onnx.TypeProto.Tensor |
Onnx.TypeProto.Tensor.parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static Onnx.TypeProto.Tensor |
Onnx.TypeProto.Tensor.parseFrom(ByteBuffer data) |
static Onnx.TypeProto.Tensor |
Onnx.TypeProto.Tensor.parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static Onnx.TypeProto.Tensor |
Onnx.TypeProto.Tensor.parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static Onnx.TypeProto.Tensor |
Onnx.TypeProto.Tensor.parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static Onnx.TypeProto.Tensor |
Onnx.TypeProto.Tensor.parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static Onnx.TypeProto.Tensor |
Onnx.TypeProto.Tensor.parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static Onnx.TypeProto.Tensor |
Onnx.TypeProto.Tensor.parseFrom(InputStream input) |
static Onnx.TypeProto.Tensor |
Onnx.TypeProto.Tensor.parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
| Modifier and Type | Method and Description |
|---|---|
org.nd4j.shade.protobuf.Parser<Onnx.TypeProto.Tensor> |
Onnx.TypeProto.Tensor.getParserForType() |
static org.nd4j.shade.protobuf.Parser<Onnx.TypeProto.Tensor> |
Onnx.TypeProto.Tensor.parser() |
| Modifier and Type | Method and Description |
|---|---|
Onnx.TypeProto.Tensor.Builder |
Onnx.TypeProto.Tensor.Builder.mergeFrom(Onnx.TypeProto.Tensor other) |
Onnx.TypeProto.Builder |
Onnx.TypeProto.Builder.mergeTensorType(Onnx.TypeProto.Tensor value)
The type of a tensor.
|
static Onnx.TypeProto.Tensor.Builder |
Onnx.TypeProto.Tensor.newBuilder(Onnx.TypeProto.Tensor prototype) |
Onnx.TypeProto.Builder |
Onnx.TypeProto.Builder.setTensorType(Onnx.TypeProto.Tensor value)
The type of a tensor.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Onnx.TypeProto.Tensor> |
OnnxGraphMapper.variablesForGraph(Onnx.GraphProto graphProto) |
| Modifier and Type | Method and Description |
|---|---|
DataType |
OnnxGraphMapper.dataTypeForTensor(Onnx.TypeProto.Tensor tensorProto,
int outputNum) |
INDArray |
OnnxGraphMapper.getNDArrayFromTensor(String tensorName,
Onnx.TypeProto.Tensor tensorProto,
Onnx.GraphProto graph) |
long[] |
OnnxGraphMapper.getShapeFromTensor(Onnx.TypeProto.Tensor tensorProto) |
boolean |
OnnxGraphMapper.isConstant(Onnx.TypeProto.Tensor nodeType) |
boolean |
OnnxGraphMapper.isPlaceHolder(Onnx.TypeProto.Tensor nodeType) |
boolean |
OnnxGraphMapper.isPlaceHolderNode(Onnx.TypeProto.Tensor node) |
boolean |
OnnxGraphMapper.isStringType(Onnx.TypeProto.Tensor tensor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
OnnxGraphMapper.addDummyTensor(String name,
Map<String,Onnx.TypeProto.Tensor> to) |
void |
OnnxGraphMapper.mapNodeType(Onnx.NodeProto tfNode,
ImportState<Onnx.GraphProto,Onnx.TypeProto.Tensor> importState,
OpImportOverride<Onnx.GraphProto,Onnx.NodeProto,Onnx.AttributeProto> opImportOverride,
OpImportFilter<Onnx.GraphProto,Onnx.NodeProto,Onnx.AttributeProto> opFilter) |
Copyright © 2019. All rights reserved.