| Package | Description |
|---|---|
| onnx | |
| org.nd4j.imports.graphmapper.onnx |
| Modifier and Type | Method and Description |
|---|---|
static OnnxProto3.TensorProto.DataType |
OnnxProto3.TensorProto.DataType.forNumber(int value) |
OnnxProto3.TensorProto.DataType |
OnnxProto3.TensorProtoOrBuilder.getDataType()
The data type of the tensor.
|
OnnxProto3.TensorProto.DataType |
OnnxProto3.TensorProto.getDataType()
The data type of the tensor.
|
OnnxProto3.TensorProto.DataType |
OnnxProto3.TensorProto.Builder.getDataType()
The data type of the tensor.
|
OnnxProto3.TensorProto.DataType |
OnnxProto3.TypeProto.TensorOrBuilder.getElemType()
This field MUST NOT have the value of UNDEFINED
This field MUST be present for this version of the IR.
|
OnnxProto3.TensorProto.DataType |
OnnxProto3.TypeProto.Tensor.getElemType()
This field MUST NOT have the value of UNDEFINED
This field MUST be present for this version of the IR.
|
OnnxProto3.TensorProto.DataType |
OnnxProto3.TypeProto.Tensor.Builder.getElemType()
This field MUST NOT have the value of UNDEFINED
This field MUST be present for this version of the IR.
|
static OnnxProto3.TensorProto.DataType |
OnnxProto3.TensorProto.DataType.valueOf(com.github.os72.protobuf351.Descriptors.EnumValueDescriptor desc) |
static OnnxProto3.TensorProto.DataType |
OnnxProto3.TensorProto.DataType.valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static OnnxProto3.TensorProto.DataType |
OnnxProto3.TensorProto.DataType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OnnxProto3.TensorProto.DataType[] |
OnnxProto3.TensorProto.DataType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static com.github.os72.protobuf351.Internal.EnumLiteMap<OnnxProto3.TensorProto.DataType> |
OnnxProto3.TensorProto.DataType.internalGetValueMap() |
| Modifier and Type | Method and Description |
|---|---|
OnnxProto3.TensorProto.Builder |
OnnxProto3.TensorProto.Builder.setDataType(OnnxProto3.TensorProto.DataType value)
The data type of the tensor.
|
OnnxProto3.TypeProto.Tensor.Builder |
OnnxProto3.TypeProto.Tensor.Builder.setElemType(OnnxProto3.TensorProto.DataType value)
This field MUST NOT have the value of UNDEFINED
This field MUST be present for this version of the IR.
|
| Modifier and Type | Method and Description |
|---|---|
DataBuffer.Type |
OnnxGraphMapper.nd4jTypeFromOnnxType(OnnxProto3.TensorProto.DataType dataType)
Convert an onnx type to the proper nd4j type
|
Copyright © 2018. All rights reserved.