public static final class OnnxMl.TypeProto.Tensor.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TypeProto.Tensor.Builder> implements OnnxMl.TypeProto.TensorOrBuilder
onnx.TypeProto.Tensor| Modifier and Type | Method and Description |
|---|---|
OnnxMl.TypeProto.Tensor.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OnnxMl.TypeProto.Tensor |
build() |
OnnxMl.TypeProto.Tensor |
buildPartial() |
OnnxMl.TypeProto.Tensor.Builder |
clear() |
OnnxMl.TypeProto.Tensor.Builder |
clearElemType()
This field MUST NOT have the value of UNDEFINED
This field MUST be present for this version of the IR.
|
OnnxMl.TypeProto.Tensor.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
OnnxMl.TypeProto.Tensor.Builder |
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
OnnxMl.TypeProto.Tensor.Builder |
clearShape()
.onnx.TensorShapeProto shape = 2; |
OnnxMl.TypeProto.Tensor.Builder |
clone() |
OnnxMl.TypeProto.Tensor |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.TensorShapeProto.Builder |
getShapeBuilder()
.onnx.TensorShapeProto shape = 2; |
OnnxMl.TensorShapeProtoOrBuilder |
getShapeOrBuilder()
.onnx.TensorShapeProto shape = 2; |
boolean |
hasShape()
.onnx.TensorShapeProto shape = 2; |
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OnnxMl.TypeProto.Tensor.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
OnnxMl.TypeProto.Tensor.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
OnnxMl.TypeProto.Tensor.Builder |
mergeFrom(OnnxMl.TypeProto.Tensor other) |
OnnxMl.TypeProto.Tensor.Builder |
mergeShape(OnnxMl.TensorShapeProto value)
.onnx.TensorShapeProto shape = 2; |
OnnxMl.TypeProto.Tensor.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
OnnxMl.TypeProto.Tensor.Builder |
setElemType(OnnxMl.TensorProto.DataType value)
This field MUST NOT have the value of UNDEFINED
This field MUST be present for this version of the IR.
|
OnnxMl.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.
|
OnnxMl.TypeProto.Tensor.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OnnxMl.TypeProto.Tensor.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
OnnxMl.TypeProto.Tensor.Builder |
setShape(OnnxMl.TensorShapeProto.Builder builderForValue)
.onnx.TensorShapeProto shape = 2; |
OnnxMl.TypeProto.Tensor.Builder |
setShape(OnnxMl.TensorShapeProto value)
.onnx.TensorShapeProto shape = 2; |
OnnxMl.TypeProto.Tensor.Builder |
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TypeProto.Tensor.Builder>public OnnxMl.TypeProto.Tensor.Builder clear()
clear in interface org.nd4j.shade.protobuf.Message.Builderclear in interface org.nd4j.shade.protobuf.MessageLite.Builderclear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TypeProto.Tensor.Builder>public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface org.nd4j.shade.protobuf.Message.BuildergetDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuildergetDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TypeProto.Tensor.Builder>public OnnxMl.TypeProto.Tensor getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderpublic OnnxMl.TypeProto.Tensor build()
build in interface org.nd4j.shade.protobuf.Message.Builderbuild in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic OnnxMl.TypeProto.Tensor buildPartial()
buildPartial in interface org.nd4j.shade.protobuf.Message.BuilderbuildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic OnnxMl.TypeProto.Tensor.Builder clone()
clone in interface org.nd4j.shade.protobuf.Message.Builderclone in interface org.nd4j.shade.protobuf.MessageLite.Builderclone in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TypeProto.Tensor.Builder>public OnnxMl.TypeProto.Tensor.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface org.nd4j.shade.protobuf.Message.BuildersetField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TypeProto.Tensor.Builder>public OnnxMl.TypeProto.Tensor.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
clearField in interface org.nd4j.shade.protobuf.Message.BuilderclearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TypeProto.Tensor.Builder>public OnnxMl.TypeProto.Tensor.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface org.nd4j.shade.protobuf.Message.BuilderclearOneof in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TypeProto.Tensor.Builder>public OnnxMl.TypeProto.Tensor.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface org.nd4j.shade.protobuf.Message.BuildersetRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TypeProto.Tensor.Builder>public OnnxMl.TypeProto.Tensor.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface org.nd4j.shade.protobuf.Message.BuilderaddRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TypeProto.Tensor.Builder>public OnnxMl.TypeProto.Tensor.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<OnnxMl.TypeProto.Tensor.Builder>public OnnxMl.TypeProto.Tensor.Builder mergeFrom(OnnxMl.TypeProto.Tensor other)
public final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TypeProto.Tensor.Builder>public OnnxMl.TypeProto.Tensor.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in interface org.nd4j.shade.protobuf.MessageLite.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<OnnxMl.TypeProto.Tensor.Builder>IOExceptionpublic 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 OnnxMl.TypeProto.TensorOrBuilderpublic OnnxMl.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;value - The enum numeric value on the wire for elemType to set.public 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;getElemType in interface OnnxMl.TypeProto.TensorOrBuilderpublic OnnxMl.TypeProto.Tensor.Builder setElemType(OnnxMl.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;value - The elemType to set.public OnnxMl.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 OnnxMl.TypeProto.TensorOrBuilderpublic OnnxMl.TensorShapeProto getShape()
.onnx.TensorShapeProto shape = 2;getShape in interface OnnxMl.TypeProto.TensorOrBuilderpublic OnnxMl.TypeProto.Tensor.Builder setShape(OnnxMl.TensorShapeProto value)
.onnx.TensorShapeProto shape = 2;public OnnxMl.TypeProto.Tensor.Builder setShape(OnnxMl.TensorShapeProto.Builder builderForValue)
.onnx.TensorShapeProto shape = 2;public OnnxMl.TypeProto.Tensor.Builder mergeShape(OnnxMl.TensorShapeProto value)
.onnx.TensorShapeProto shape = 2;public OnnxMl.TypeProto.Tensor.Builder clearShape()
.onnx.TensorShapeProto shape = 2;public OnnxMl.TensorShapeProto.Builder getShapeBuilder()
.onnx.TensorShapeProto shape = 2;public OnnxMl.TensorShapeProtoOrBuilder getShapeOrBuilder()
.onnx.TensorShapeProto shape = 2;getShapeOrBuilder in interface OnnxMl.TypeProto.TensorOrBuilderpublic final OnnxMl.TypeProto.Tensor.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildersetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TypeProto.Tensor.Builder>public final OnnxMl.TypeProto.Tensor.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildermergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.TypeProto.Tensor.Builder>Copyright © 2022. All rights reserved.