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