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, 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<TensorDescription.Builder>public TensorDescription.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<TensorDescription.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<TensorDescription.Builder>public TensorDescription getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderpublic TensorDescription build()
build in interface org.nd4j.shade.protobuf.Message.Builderbuild in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic TensorDescription buildPartial()
buildPartial in interface org.nd4j.shade.protobuf.Message.BuilderbuildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic TensorDescription.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<TensorDescription.Builder>public TensorDescription.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<TensorDescription.Builder>public TensorDescription.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<TensorDescription.Builder>public TensorDescription.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<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.BuildersetRepeatedField 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.BuilderaddRepeatedField 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.BuildermergeFrom 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.MessageLiteOrBuilderisInitialized 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.BuildermergeFrom in interface org.nd4j.shade.protobuf.MessageLite.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<TensorDescription.Builder>IOExceptionpublic int getDtypeValue()
Data type of tensor elements
.tensorflow.DataType dtype = 1;getDtypeValue in interface TensorDescriptionOrBuilderpublic TensorDescription.Builder setDtypeValue(int value)
Data type of tensor elements
.tensorflow.DataType dtype = 1;public DataType getDtype()
Data type of tensor elements
.tensorflow.DataType dtype = 1;getDtype in interface TensorDescriptionOrBuilderpublic TensorDescription.Builder setDtype(DataType value)
Data type of tensor elements
.tensorflow.DataType dtype = 1;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 TensorDescriptionOrBuilderpublic TensorShapeProto getShape()
Shape of the tensor.
.tensorflow.TensorShapeProto shape = 2;getShape in interface TensorDescriptionOrBuilderpublic 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 TensorDescriptionOrBuilderpublic boolean hasAllocationDescription()
Information about the size and allocator used for the data
.tensorflow.AllocationDescription allocation_description = 4;hasAllocationDescription in interface TensorDescriptionOrBuilderpublic AllocationDescription getAllocationDescription()
Information about the size and allocator used for the data
.tensorflow.AllocationDescription allocation_description = 4;getAllocationDescription in interface TensorDescriptionOrBuilderpublic 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 TensorDescriptionOrBuilderpublic final TensorDescription.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<TensorDescription.Builder>public final TensorDescription.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<TensorDescription.Builder>Copyright © 2021. All rights reserved.