public static final class Onnx.TypeProto.Tensor.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TypeProto.Tensor.Builder> implements Onnx.TypeProto.TensorOrBuilder
onnx.TypeProto.Tensor| Modifier and Type | Method and Description |
|---|---|
Onnx.TypeProto.Tensor.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Onnx.TypeProto.Tensor |
build() |
Onnx.TypeProto.Tensor |
buildPartial() |
Onnx.TypeProto.Tensor.Builder |
clear() |
Onnx.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.TypeProto.Tensor.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
Onnx.TypeProto.Tensor.Builder |
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
Onnx.TypeProto.Tensor.Builder |
clearShape()
.onnx.TensorShapeProto shape = 2; |
Onnx.TypeProto.Tensor.Builder |
clone() |
Onnx.TypeProto.Tensor |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.TensorShapeProto.Builder |
getShapeBuilder()
.onnx.TensorShapeProto shape = 2; |
Onnx.TensorShapeProtoOrBuilder |
getShapeOrBuilder()
.onnx.TensorShapeProto shape = 2; |
boolean |
hasShape()
.onnx.TensorShapeProto shape = 2; |
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Onnx.TypeProto.Tensor.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
Onnx.TypeProto.Tensor.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
Onnx.TypeProto.Tensor.Builder |
mergeFrom(Onnx.TypeProto.Tensor other) |
Onnx.TypeProto.Tensor.Builder |
mergeShape(Onnx.TensorShapeProto value)
.onnx.TensorShapeProto shape = 2; |
Onnx.TypeProto.Tensor.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
Onnx.TypeProto.Tensor.Builder |
setElemType(Onnx.TensorProto.DataType value)
This field MUST NOT have the value of UNDEFINED
This field MUST be present for this version of the IR.
|
Onnx.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.TypeProto.Tensor.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Onnx.TypeProto.Tensor.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Onnx.TypeProto.Tensor.Builder |
setShape(Onnx.TensorShapeProto.Builder builderForValue)
.onnx.TensorShapeProto shape = 2; |
Onnx.TypeProto.Tensor.Builder |
setShape(Onnx.TensorShapeProto value)
.onnx.TensorShapeProto shape = 2; |
Onnx.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<Onnx.TypeProto.Tensor.Builder>public Onnx.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<Onnx.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<Onnx.TypeProto.Tensor.Builder>public Onnx.TypeProto.Tensor getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderpublic Onnx.TypeProto.Tensor build()
build in interface org.nd4j.shade.protobuf.Message.Builderbuild in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic Onnx.TypeProto.Tensor buildPartial()
buildPartial in interface org.nd4j.shade.protobuf.Message.BuilderbuildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic Onnx.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<Onnx.TypeProto.Tensor.Builder>public Onnx.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<Onnx.TypeProto.Tensor.Builder>public Onnx.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<Onnx.TypeProto.Tensor.Builder>public Onnx.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<Onnx.TypeProto.Tensor.Builder>public Onnx.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<Onnx.TypeProto.Tensor.Builder>public Onnx.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<Onnx.TypeProto.Tensor.Builder>public Onnx.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<Onnx.TypeProto.Tensor.Builder>public Onnx.TypeProto.Tensor.Builder mergeFrom(Onnx.TypeProto.Tensor other)
public final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TypeProto.Tensor.Builder>public Onnx.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<Onnx.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 Onnx.TypeProto.TensorOrBuilderpublic Onnx.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 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;getElemType in interface Onnx.TypeProto.TensorOrBuilderpublic Onnx.TypeProto.Tensor.Builder setElemType(Onnx.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 Onnx.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 Onnx.TypeProto.TensorOrBuilderpublic Onnx.TensorShapeProto getShape()
.onnx.TensorShapeProto shape = 2;getShape in interface Onnx.TypeProto.TensorOrBuilderpublic Onnx.TypeProto.Tensor.Builder setShape(Onnx.TensorShapeProto value)
.onnx.TensorShapeProto shape = 2;public Onnx.TypeProto.Tensor.Builder setShape(Onnx.TensorShapeProto.Builder builderForValue)
.onnx.TensorShapeProto shape = 2;public Onnx.TypeProto.Tensor.Builder mergeShape(Onnx.TensorShapeProto value)
.onnx.TensorShapeProto shape = 2;public Onnx.TypeProto.Tensor.Builder clearShape()
.onnx.TensorShapeProto shape = 2;public Onnx.TensorShapeProto.Builder getShapeBuilder()
.onnx.TensorShapeProto shape = 2;public Onnx.TensorShapeProtoOrBuilder getShapeOrBuilder()
.onnx.TensorShapeProto shape = 2;getShapeOrBuilder in interface Onnx.TypeProto.TensorOrBuilderpublic final Onnx.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<Onnx.TypeProto.Tensor.Builder>public final Onnx.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<Onnx.TypeProto.Tensor.Builder>Copyright © 2022. All rights reserved.