public static final class TensorDescription.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TensorDescription.Builder> implements TensorDescriptionOrBuilder
tensorflow.TensorDescription| Modifier and Type | Method and Description |
|---|---|
TensorDescription.Builder |
addRepeatedField(com.google.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(com.google.protobuf.Descriptors.FieldDescriptor field) |
TensorDescription.Builder |
clearOneof(com.google.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 com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.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 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TensorDescription.Builder |
mergeAllocationDescription(AllocationDescription value)
Information about the size and allocator used for the data
|
TensorDescription.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TensorDescription.Builder |
mergeFrom(com.google.protobuf.Message other) |
TensorDescription.Builder |
mergeFrom(TensorDescription other) |
TensorDescription.Builder |
mergeShape(TensorShapeProto value)
Shape of the tensor.
|
TensorDescription.Builder |
mergeUnknownFields(com.google.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(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TensorDescription.Builder |
setRepeatedField(com.google.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(com.google.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 com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TensorDescription.Builder>public TensorDescription.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TensorDescription.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TensorDescription.Builder>public TensorDescription getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TensorDescription build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TensorDescription buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TensorDescription.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TensorDescription.Builder>public TensorDescription.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TensorDescription.Builder>public TensorDescription.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TensorDescription.Builder>public TensorDescription.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TensorDescription.Builder>public TensorDescription.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TensorDescription.Builder>public TensorDescription.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TensorDescription.Builder>public TensorDescription.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TensorDescription.Builder>public TensorDescription.Builder mergeFrom(TensorDescription other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TensorDescription.Builder>public TensorDescription.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.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(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TensorDescription.Builder>public final TensorDescription.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TensorDescription.Builder>Copyright © 2015–2019. All rights reserved.