public static final class FixedShape.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FixedShape.Builder> implements FixedShapeOrBuilder
Specifies a fixed shape for the feature's values. The immediate implication
is that each feature has a fixed number of values. Moreover, these values
can be parsed in a multi-dimensional tensor using the specified axis sizes.
The FixedShape defines a lexicographical ordering of the data. For instance,
if there is a FixedShape {
dim {size:3} dim {size:2}
}
then tensor[0][0]=field[0]
then tensor[0][1]=field[1]
then tensor[1][0]=field[2]
then tensor[1][1]=field[3]
then tensor[2][0]=field[4]
then tensor[2][1]=field[5]
The FixedShape message is identical with the TensorFlow TensorShape proto
message.
Protobuf type tensorflow.metadata.v0.FixedShape| Modifier and Type | Method and Description |
|---|---|
FixedShape.Builder |
addAllDim(Iterable<? extends FixedShape.Dim> values)
The dimensions that define the shape.
|
FixedShape.Builder |
addDim(FixedShape.Dim.Builder builderForValue)
The dimensions that define the shape.
|
FixedShape.Builder |
addDim(FixedShape.Dim value)
The dimensions that define the shape.
|
FixedShape.Builder |
addDim(int index,
FixedShape.Dim.Builder builderForValue)
The dimensions that define the shape.
|
FixedShape.Builder |
addDim(int index,
FixedShape.Dim value)
The dimensions that define the shape.
|
FixedShape.Dim.Builder |
addDimBuilder()
The dimensions that define the shape.
|
FixedShape.Dim.Builder |
addDimBuilder(int index)
The dimensions that define the shape.
|
FixedShape.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FixedShape |
build() |
FixedShape |
buildPartial() |
FixedShape.Builder |
clear() |
FixedShape.Builder |
clearDim()
The dimensions that define the shape.
|
FixedShape.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
FixedShape.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FixedShape.Builder |
clone() |
FixedShape |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
FixedShape.Dim |
getDim(int index)
The dimensions that define the shape.
|
FixedShape.Dim.Builder |
getDimBuilder(int index)
The dimensions that define the shape.
|
List<FixedShape.Dim.Builder> |
getDimBuilderList()
The dimensions that define the shape.
|
int |
getDimCount()
The dimensions that define the shape.
|
List<FixedShape.Dim> |
getDimList()
The dimensions that define the shape.
|
FixedShape.DimOrBuilder |
getDimOrBuilder(int index)
The dimensions that define the shape.
|
List<? extends FixedShape.DimOrBuilder> |
getDimOrBuilderList()
The dimensions that define the shape.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FixedShape.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FixedShape.Builder |
mergeFrom(FixedShape other) |
FixedShape.Builder |
mergeFrom(com.google.protobuf.Message other) |
FixedShape.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FixedShape.Builder |
removeDim(int index)
The dimensions that define the shape.
|
FixedShape.Builder |
setDim(int index,
FixedShape.Dim.Builder builderForValue)
The dimensions that define the shape.
|
FixedShape.Builder |
setDim(int index,
FixedShape.Dim value)
The dimensions that define the shape.
|
FixedShape.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FixedShape.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
FixedShape.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<FixedShape.Builder>public FixedShape.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<FixedShape.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<FixedShape.Builder>public FixedShape getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FixedShape build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FixedShape buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FixedShape.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<FixedShape.Builder>public FixedShape.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<FixedShape.Builder>public FixedShape.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<FixedShape.Builder>public FixedShape.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FixedShape.Builder>public FixedShape.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<FixedShape.Builder>public FixedShape.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<FixedShape.Builder>public FixedShape.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FixedShape.Builder>public FixedShape.Builder mergeFrom(FixedShape other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FixedShape.Builder>public FixedShape.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<FixedShape.Builder>IOExceptionpublic List<FixedShape.Dim> getDimList()
The dimensions that define the shape. The total number of values in each example is the product of sizes of each dimension.
repeated .tensorflow.metadata.v0.FixedShape.Dim dim = 2;getDimList in interface FixedShapeOrBuilderpublic int getDimCount()
The dimensions that define the shape. The total number of values in each example is the product of sizes of each dimension.
repeated .tensorflow.metadata.v0.FixedShape.Dim dim = 2;getDimCount in interface FixedShapeOrBuilderpublic FixedShape.Dim getDim(int index)
The dimensions that define the shape. The total number of values in each example is the product of sizes of each dimension.
repeated .tensorflow.metadata.v0.FixedShape.Dim dim = 2;getDim in interface FixedShapeOrBuilderpublic FixedShape.Builder setDim(int index, FixedShape.Dim value)
The dimensions that define the shape. The total number of values in each example is the product of sizes of each dimension.
repeated .tensorflow.metadata.v0.FixedShape.Dim dim = 2;public FixedShape.Builder setDim(int index, FixedShape.Dim.Builder builderForValue)
The dimensions that define the shape. The total number of values in each example is the product of sizes of each dimension.
repeated .tensorflow.metadata.v0.FixedShape.Dim dim = 2;public FixedShape.Builder addDim(FixedShape.Dim value)
The dimensions that define the shape. The total number of values in each example is the product of sizes of each dimension.
repeated .tensorflow.metadata.v0.FixedShape.Dim dim = 2;public FixedShape.Builder addDim(int index, FixedShape.Dim value)
The dimensions that define the shape. The total number of values in each example is the product of sizes of each dimension.
repeated .tensorflow.metadata.v0.FixedShape.Dim dim = 2;public FixedShape.Builder addDim(FixedShape.Dim.Builder builderForValue)
The dimensions that define the shape. The total number of values in each example is the product of sizes of each dimension.
repeated .tensorflow.metadata.v0.FixedShape.Dim dim = 2;public FixedShape.Builder addDim(int index, FixedShape.Dim.Builder builderForValue)
The dimensions that define the shape. The total number of values in each example is the product of sizes of each dimension.
repeated .tensorflow.metadata.v0.FixedShape.Dim dim = 2;public FixedShape.Builder addAllDim(Iterable<? extends FixedShape.Dim> values)
The dimensions that define the shape. The total number of values in each example is the product of sizes of each dimension.
repeated .tensorflow.metadata.v0.FixedShape.Dim dim = 2;public FixedShape.Builder clearDim()
The dimensions that define the shape. The total number of values in each example is the product of sizes of each dimension.
repeated .tensorflow.metadata.v0.FixedShape.Dim dim = 2;public FixedShape.Builder removeDim(int index)
The dimensions that define the shape. The total number of values in each example is the product of sizes of each dimension.
repeated .tensorflow.metadata.v0.FixedShape.Dim dim = 2;public FixedShape.Dim.Builder getDimBuilder(int index)
The dimensions that define the shape. The total number of values in each example is the product of sizes of each dimension.
repeated .tensorflow.metadata.v0.FixedShape.Dim dim = 2;public FixedShape.DimOrBuilder getDimOrBuilder(int index)
The dimensions that define the shape. The total number of values in each example is the product of sizes of each dimension.
repeated .tensorflow.metadata.v0.FixedShape.Dim dim = 2;getDimOrBuilder in interface FixedShapeOrBuilderpublic List<? extends FixedShape.DimOrBuilder> getDimOrBuilderList()
The dimensions that define the shape. The total number of values in each example is the product of sizes of each dimension.
repeated .tensorflow.metadata.v0.FixedShape.Dim dim = 2;getDimOrBuilderList in interface FixedShapeOrBuilderpublic FixedShape.Dim.Builder addDimBuilder()
The dimensions that define the shape. The total number of values in each example is the product of sizes of each dimension.
repeated .tensorflow.metadata.v0.FixedShape.Dim dim = 2;public FixedShape.Dim.Builder addDimBuilder(int index)
The dimensions that define the shape. The total number of values in each example is the product of sizes of each dimension.
repeated .tensorflow.metadata.v0.FixedShape.Dim dim = 2;public List<FixedShape.Dim.Builder> getDimBuilderList()
The dimensions that define the shape. The total number of values in each example is the product of sizes of each dimension.
repeated .tensorflow.metadata.v0.FixedShape.Dim dim = 2;public final FixedShape.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FixedShape.Builder>public final FixedShape.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FixedShape.Builder>Copyright © 2020 Gojek. All rights reserved.