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, 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 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.Builder
clear
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clear
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.Builder
getDescriptorForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getDescriptorForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TypeProto.Tensor.Builder>
public Onnx.TypeProto.Tensor getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
public Onnx.TypeProto.Tensor build()
build
in interface org.nd4j.shade.protobuf.Message.Builder
build
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public Onnx.TypeProto.Tensor buildPartial()
buildPartial
in interface org.nd4j.shade.protobuf.Message.Builder
buildPartial
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public Onnx.TypeProto.Tensor.Builder clone()
clone
in interface org.nd4j.shade.protobuf.Message.Builder
clone
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface org.nd4j.shade.protobuf.MessageLite.Builder
mergeFrom
in class org.nd4j.shade.protobuf.AbstractMessage.Builder<Onnx.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 Onnx.TypeProto.TensorOrBuilder
public 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;
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.TensorOrBuilder
public 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;
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.TensorOrBuilder
public Onnx.TensorShapeProto getShape()
.onnx.TensorShapeProto shape = 2;
getShape
in interface Onnx.TypeProto.TensorOrBuilder
public 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.TensorOrBuilder
public final Onnx.TypeProto.Tensor.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface org.nd4j.shade.protobuf.Message.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.TypeProto.Tensor.Builder>
Copyright © 2019. All rights reserved.