public static final class OnnxMlProto3.TypeProto.Tensor.Builder extends com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.TypeProto.Tensor.Builder> implements OnnxMlProto3.TypeProto.TensorOrBuilder
onnx.TypeProto.Tensor
Modifier and Type | Method and Description |
---|---|
OnnxMlProto3.TypeProto.Tensor.Builder |
addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
OnnxMlProto3.TypeProto.Tensor |
build() |
OnnxMlProto3.TypeProto.Tensor |
buildPartial() |
OnnxMlProto3.TypeProto.Tensor.Builder |
clear() |
OnnxMlProto3.TypeProto.Tensor.Builder |
clearElemType()
This field MUST NOT have the value of UNDEFINED
This field MUST be present for this version of the IR.
|
OnnxMlProto3.TypeProto.Tensor.Builder |
clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field) |
OnnxMlProto3.TypeProto.Tensor.Builder |
clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof) |
OnnxMlProto3.TypeProto.Tensor.Builder |
clearShape()
.onnx.TensorShapeProto shape = 2; |
OnnxMlProto3.TypeProto.Tensor.Builder |
clone() |
OnnxMlProto3.TypeProto.Tensor |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptorForType() |
OnnxMlProto3.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.
|
OnnxMlProto3.TensorShapeProto |
getShape()
.onnx.TensorShapeProto shape = 2; |
OnnxMlProto3.TensorShapeProto.Builder |
getShapeBuilder()
.onnx.TensorShapeProto shape = 2; |
OnnxMlProto3.TensorShapeProtoOrBuilder |
getShapeOrBuilder()
.onnx.TensorShapeProto shape = 2; |
boolean |
hasShape()
.onnx.TensorShapeProto shape = 2; |
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OnnxMlProto3.TypeProto.Tensor.Builder |
mergeFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
OnnxMlProto3.TypeProto.Tensor.Builder |
mergeFrom(com.github.os72.protobuf351.Message other) |
OnnxMlProto3.TypeProto.Tensor.Builder |
mergeFrom(OnnxMlProto3.TypeProto.Tensor other) |
OnnxMlProto3.TypeProto.Tensor.Builder |
mergeShape(OnnxMlProto3.TensorShapeProto value)
.onnx.TensorShapeProto shape = 2; |
OnnxMlProto3.TypeProto.Tensor.Builder |
mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
OnnxMlProto3.TypeProto.Tensor.Builder |
setElemType(OnnxMlProto3.TensorProto.DataType value)
This field MUST NOT have the value of UNDEFINED
This field MUST be present for this version of the IR.
|
OnnxMlProto3.TypeProto.Tensor.Builder |
setElemTypeValue(int value)
This field MUST NOT have the value of UNDEFINED
This field MUST be present for this version of the IR.
|
OnnxMlProto3.TypeProto.Tensor.Builder |
setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
OnnxMlProto3.TypeProto.Tensor.Builder |
setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
int index,
Object value) |
OnnxMlProto3.TypeProto.Tensor.Builder |
setShape(OnnxMlProto3.TensorShapeProto.Builder builderForValue)
.onnx.TensorShapeProto shape = 2; |
OnnxMlProto3.TypeProto.Tensor.Builder |
setShape(OnnxMlProto3.TensorShapeProto value)
.onnx.TensorShapeProto shape = 2; |
OnnxMlProto3.TypeProto.Tensor.Builder |
setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.TypeProto.Tensor.Builder>
public OnnxMlProto3.TypeProto.Tensor.Builder clear()
clear
in interface com.github.os72.protobuf351.Message.Builder
clear
in interface com.github.os72.protobuf351.MessageLite.Builder
clear
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.TypeProto.Tensor.Builder>
public com.github.os72.protobuf351.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.github.os72.protobuf351.Message.Builder
getDescriptorForType
in interface com.github.os72.protobuf351.MessageOrBuilder
getDescriptorForType
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.TypeProto.Tensor.Builder>
public OnnxMlProto3.TypeProto.Tensor getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
public OnnxMlProto3.TypeProto.Tensor build()
build
in interface com.github.os72.protobuf351.Message.Builder
build
in interface com.github.os72.protobuf351.MessageLite.Builder
public OnnxMlProto3.TypeProto.Tensor buildPartial()
buildPartial
in interface com.github.os72.protobuf351.Message.Builder
buildPartial
in interface com.github.os72.protobuf351.MessageLite.Builder
public OnnxMlProto3.TypeProto.Tensor.Builder clone()
clone
in interface com.github.os72.protobuf351.Message.Builder
clone
in interface com.github.os72.protobuf351.MessageLite.Builder
clone
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.TypeProto.Tensor.Builder>
public OnnxMlProto3.TypeProto.Tensor.Builder setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.github.os72.protobuf351.Message.Builder
setField
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.TypeProto.Tensor.Builder>
public OnnxMlProto3.TypeProto.Tensor.Builder clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field)
clearField
in interface com.github.os72.protobuf351.Message.Builder
clearField
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.TypeProto.Tensor.Builder>
public OnnxMlProto3.TypeProto.Tensor.Builder clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.github.os72.protobuf351.Message.Builder
clearOneof
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.TypeProto.Tensor.Builder>
public OnnxMlProto3.TypeProto.Tensor.Builder setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.github.os72.protobuf351.Message.Builder
setRepeatedField
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.TypeProto.Tensor.Builder>
public OnnxMlProto3.TypeProto.Tensor.Builder addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.github.os72.protobuf351.Message.Builder
addRepeatedField
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.TypeProto.Tensor.Builder>
public OnnxMlProto3.TypeProto.Tensor.Builder mergeFrom(com.github.os72.protobuf351.Message other)
mergeFrom
in interface com.github.os72.protobuf351.Message.Builder
mergeFrom
in class com.github.os72.protobuf351.AbstractMessage.Builder<OnnxMlProto3.TypeProto.Tensor.Builder>
public OnnxMlProto3.TypeProto.Tensor.Builder mergeFrom(OnnxMlProto3.TypeProto.Tensor other)
public final boolean isInitialized()
isInitialized
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
isInitialized
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.TypeProto.Tensor.Builder>
public OnnxMlProto3.TypeProto.Tensor.Builder mergeFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.github.os72.protobuf351.Message.Builder
mergeFrom
in interface com.github.os72.protobuf351.MessageLite.Builder
mergeFrom
in class com.github.os72.protobuf351.AbstractMessage.Builder<OnnxMlProto3.TypeProto.Tensor.Builder>
IOException
public 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;
getElemTypeValue
in interface OnnxMlProto3.TypeProto.TensorOrBuilder
public OnnxMlProto3.TypeProto.Tensor.Builder setElemTypeValue(int value)
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;
public OnnxMlProto3.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;
getElemType
in interface OnnxMlProto3.TypeProto.TensorOrBuilder
public OnnxMlProto3.TypeProto.Tensor.Builder setElemType(OnnxMlProto3.TensorProto.DataType value)
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;
public OnnxMlProto3.TypeProto.Tensor.Builder clearElemType()
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;
public boolean hasShape()
.onnx.TensorShapeProto shape = 2;
hasShape
in interface OnnxMlProto3.TypeProto.TensorOrBuilder
public OnnxMlProto3.TensorShapeProto getShape()
.onnx.TensorShapeProto shape = 2;
getShape
in interface OnnxMlProto3.TypeProto.TensorOrBuilder
public OnnxMlProto3.TypeProto.Tensor.Builder setShape(OnnxMlProto3.TensorShapeProto value)
.onnx.TensorShapeProto shape = 2;
public OnnxMlProto3.TypeProto.Tensor.Builder setShape(OnnxMlProto3.TensorShapeProto.Builder builderForValue)
.onnx.TensorShapeProto shape = 2;
public OnnxMlProto3.TypeProto.Tensor.Builder mergeShape(OnnxMlProto3.TensorShapeProto value)
.onnx.TensorShapeProto shape = 2;
public OnnxMlProto3.TypeProto.Tensor.Builder clearShape()
.onnx.TensorShapeProto shape = 2;
public OnnxMlProto3.TensorShapeProto.Builder getShapeBuilder()
.onnx.TensorShapeProto shape = 2;
public OnnxMlProto3.TensorShapeProtoOrBuilder getShapeOrBuilder()
.onnx.TensorShapeProto shape = 2;
getShapeOrBuilder
in interface OnnxMlProto3.TypeProto.TensorOrBuilder
public final OnnxMlProto3.TypeProto.Tensor.Builder setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.github.os72.protobuf351.Message.Builder
setUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.TypeProto.Tensor.Builder>
public final OnnxMlProto3.TypeProto.Tensor.Builder mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.github.os72.protobuf351.Message.Builder
mergeUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<OnnxMlProto3.TypeProto.Tensor.Builder>
Copyright © 2019. All rights reserved.