public static final class TensorDescription.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorDescription.Builder> implements TensorDescriptionOrBuilder
tensorflow.TensorDescription
Modifier and Type | Method and Description |
---|---|
TensorDescription.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TensorDescription |
build() |
TensorDescription |
buildPartial() |
TensorDescription.Builder |
clear() |
TensorDescription.Builder |
clearAllocationDescription()
Information about the size and allocator used for the data
|
TensorDescription.Builder |
clearDtype()
Data type of tensor elements
|
TensorDescription.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
TensorDescription.Builder |
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
TensorDescription.Builder |
clearShape()
Shape of the tensor.
|
TensorDescription.Builder |
clone() |
AllocationDescription |
getAllocationDescription()
Information about the size and allocator used for the data
|
AllocationDescription.Builder |
getAllocationDescriptionBuilder()
Information about the size and allocator used for the data
|
AllocationDescriptionOrBuilder |
getAllocationDescriptionOrBuilder()
Information about the size and allocator used for the data
|
TensorDescription |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
DataType |
getDtype()
Data type of tensor elements
|
int |
getDtypeValue()
Data type of tensor elements
|
TensorShapeProto |
getShape()
Shape of the tensor.
|
TensorShapeProto.Builder |
getShapeBuilder()
Shape of the tensor.
|
TensorShapeProtoOrBuilder |
getShapeOrBuilder()
Shape of the tensor.
|
boolean |
hasAllocationDescription()
Information about the size and allocator used for the data
|
boolean |
hasShape()
Shape of the tensor.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TensorDescription.Builder |
mergeAllocationDescription(AllocationDescription value)
Information about the size and allocator used for the data
|
TensorDescription.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorDescription.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
TensorDescription.Builder |
mergeFrom(TensorDescription other) |
TensorDescription.Builder |
mergeShape(TensorShapeProto value)
Shape of the tensor.
|
TensorDescription.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
TensorDescription.Builder |
setAllocationDescription(AllocationDescription.Builder builderForValue)
Information about the size and allocator used for the data
|
TensorDescription.Builder |
setAllocationDescription(AllocationDescription value)
Information about the size and allocator used for the data
|
TensorDescription.Builder |
setDtype(DataType value)
Data type of tensor elements
|
TensorDescription.Builder |
setDtypeValue(int value)
Data type of tensor elements
|
TensorDescription.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TensorDescription.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TensorDescription.Builder |
setShape(TensorShapeProto.Builder builderForValue)
Shape of the tensor.
|
TensorDescription.Builder |
setShape(TensorShapeProto value)
Shape of the tensor.
|
TensorDescription.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<TensorDescription.Builder>
public TensorDescription.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<TensorDescription.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<TensorDescription.Builder>
public TensorDescription getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
public TensorDescription build()
build
in interface org.nd4j.shade.protobuf.Message.Builder
build
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public TensorDescription buildPartial()
buildPartial
in interface org.nd4j.shade.protobuf.Message.Builder
buildPartial
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public TensorDescription.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<TensorDescription.Builder>
public TensorDescription.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<TensorDescription.Builder>
public TensorDescription.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<TensorDescription.Builder>
public TensorDescription.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<TensorDescription.Builder>
public TensorDescription.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<TensorDescription.Builder>
public TensorDescription.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<TensorDescription.Builder>
public TensorDescription.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<TensorDescription.Builder>
public TensorDescription.Builder mergeFrom(TensorDescription other)
public final boolean isInitialized()
isInitialized
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
isInitialized
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<TensorDescription.Builder>
public TensorDescription.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<TensorDescription.Builder>
IOException
public int getDtypeValue()
Data type of tensor elements
.tensorflow.DataType dtype = 1;
getDtypeValue
in interface TensorDescriptionOrBuilder
public TensorDescription.Builder setDtypeValue(int value)
Data type of tensor elements
.tensorflow.DataType dtype = 1;
value
- The enum numeric value on the wire for dtype to set.public DataType getDtype()
Data type of tensor elements
.tensorflow.DataType dtype = 1;
getDtype
in interface TensorDescriptionOrBuilder
public TensorDescription.Builder setDtype(DataType value)
Data type of tensor elements
.tensorflow.DataType dtype = 1;
value
- The dtype to set.public TensorDescription.Builder clearDtype()
Data type of tensor elements
.tensorflow.DataType dtype = 1;
public boolean hasShape()
Shape of the tensor.
.tensorflow.TensorShapeProto shape = 2;
hasShape
in interface TensorDescriptionOrBuilder
public TensorShapeProto getShape()
Shape of the tensor.
.tensorflow.TensorShapeProto shape = 2;
getShape
in interface TensorDescriptionOrBuilder
public TensorDescription.Builder setShape(TensorShapeProto value)
Shape of the tensor.
.tensorflow.TensorShapeProto shape = 2;
public TensorDescription.Builder setShape(TensorShapeProto.Builder builderForValue)
Shape of the tensor.
.tensorflow.TensorShapeProto shape = 2;
public TensorDescription.Builder mergeShape(TensorShapeProto value)
Shape of the tensor.
.tensorflow.TensorShapeProto shape = 2;
public TensorDescription.Builder clearShape()
Shape of the tensor.
.tensorflow.TensorShapeProto shape = 2;
public TensorShapeProto.Builder getShapeBuilder()
Shape of the tensor.
.tensorflow.TensorShapeProto shape = 2;
public TensorShapeProtoOrBuilder getShapeOrBuilder()
Shape of the tensor.
.tensorflow.TensorShapeProto shape = 2;
getShapeOrBuilder
in interface TensorDescriptionOrBuilder
public boolean hasAllocationDescription()
Information about the size and allocator used for the data
.tensorflow.AllocationDescription allocation_description = 4;
hasAllocationDescription
in interface TensorDescriptionOrBuilder
public AllocationDescription getAllocationDescription()
Information about the size and allocator used for the data
.tensorflow.AllocationDescription allocation_description = 4;
getAllocationDescription
in interface TensorDescriptionOrBuilder
public TensorDescription.Builder setAllocationDescription(AllocationDescription value)
Information about the size and allocator used for the data
.tensorflow.AllocationDescription allocation_description = 4;
public TensorDescription.Builder setAllocationDescription(AllocationDescription.Builder builderForValue)
Information about the size and allocator used for the data
.tensorflow.AllocationDescription allocation_description = 4;
public TensorDescription.Builder mergeAllocationDescription(AllocationDescription value)
Information about the size and allocator used for the data
.tensorflow.AllocationDescription allocation_description = 4;
public TensorDescription.Builder clearAllocationDescription()
Information about the size and allocator used for the data
.tensorflow.AllocationDescription allocation_description = 4;
public AllocationDescription.Builder getAllocationDescriptionBuilder()
Information about the size and allocator used for the data
.tensorflow.AllocationDescription allocation_description = 4;
public AllocationDescriptionOrBuilder getAllocationDescriptionOrBuilder()
Information about the size and allocator used for the data
.tensorflow.AllocationDescription allocation_description = 4;
getAllocationDescriptionOrBuilder
in interface TensorDescriptionOrBuilder
public final TensorDescription.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<TensorDescription.Builder>
public final TensorDescription.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<TensorDescription.Builder>
Copyright © 2022. All rights reserved.