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