public static interface OnnxMl.TypeProto.TensorOrBuilder
extends org.nd4j.shade.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
OnnxMl.TensorProto.DataType |
getElemType()
This field MUST NOT have the value of UNDEFINED
This field MUST be present for this version of the IR.
|
int |
getElemTypeValue()
This field MUST NOT have the value of UNDEFINED
This field MUST be present for this version of the IR.
|
OnnxMl.TensorShapeProto |
getShape()
.onnx.TensorShapeProto shape = 2; |
OnnxMl.TensorShapeProtoOrBuilder |
getShapeOrBuilder()
.onnx.TensorShapeProto shape = 2; |
boolean |
hasShape()
.onnx.TensorShapeProto shape = 2; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
int getElemTypeValue()
This field MUST NOT have the value of UNDEFINED This field MUST be present for this version of the IR.
.onnx.TensorProto.DataType elem_type = 1;
OnnxMl.TensorProto.DataType getElemType()
This field MUST NOT have the value of UNDEFINED This field MUST be present for this version of the IR.
.onnx.TensorProto.DataType elem_type = 1;
boolean hasShape()
.onnx.TensorShapeProto shape = 2;
OnnxMl.TensorShapeProto getShape()
.onnx.TensorShapeProto shape = 2;
OnnxMl.TensorShapeProtoOrBuilder getShapeOrBuilder()
.onnx.TensorShapeProto shape = 2;
Copyright © 2020. All rights reserved.