public static interface Onnx.TypeProto.TensorOrBuilder
extends org.nd4j.shade.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Onnx.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.
|
Onnx.TensorShapeProto |
getShape()
.onnx.TensorShapeProto shape = 2; |
Onnx.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;
Onnx.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;
Onnx.TensorShapeProto getShape()
.onnx.TensorShapeProto shape = 2;
Onnx.TensorShapeProtoOrBuilder getShapeOrBuilder()
.onnx.TensorShapeProto shape = 2;
Copyright © 2020. All rights reserved.