public final class TensorShapeProto extends com.github.os72.protobuf351.GeneratedMessageV3 implements TensorShapeProtoOrBuilder
Dimensions of a tensor.Protobuf type
tensorflow.TensorShapeProto
Modifier and Type | Class and Description |
---|---|
static class |
TensorShapeProto.Builder
Dimensions of a tensor.
|
static class |
TensorShapeProto.Dim
One dimension of the tensor.
|
static interface |
TensorShapeProto.DimOrBuilder |
com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
DIM_FIELD_NUMBER |
static int |
UNKNOWN_RANK_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static TensorShapeProto |
getDefaultInstance() |
TensorShapeProto |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
TensorShapeProto.Dim |
getDim(int index)
Dimensions of the tensor, such as {"input", 30}, {"output", 40}
for a 30 x 40 2D tensor.
|
int |
getDimCount()
Dimensions of the tensor, such as {"input", 30}, {"output", 40}
for a 30 x 40 2D tensor.
|
List<TensorShapeProto.Dim> |
getDimList()
Dimensions of the tensor, such as {"input", 30}, {"output", 40}
for a 30 x 40 2D tensor.
|
TensorShapeProto.DimOrBuilder |
getDimOrBuilder(int index)
Dimensions of the tensor, such as {"input", 30}, {"output", 40}
for a 30 x 40 2D tensor.
|
List<? extends TensorShapeProto.DimOrBuilder> |
getDimOrBuilderList()
Dimensions of the tensor, such as {"input", 30}, {"output", 40}
for a 30 x 40 2D tensor.
|
com.github.os72.protobuf351.Parser<TensorShapeProto> |
getParserForType() |
int |
getSerializedSize() |
com.github.os72.protobuf351.UnknownFieldSet |
getUnknownFields() |
boolean |
getUnknownRank()
If true, the number of dimensions in the shape is unknown.
|
int |
hashCode() |
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TensorShapeProto.Builder |
newBuilder() |
static TensorShapeProto.Builder |
newBuilder(TensorShapeProto prototype) |
TensorShapeProto.Builder |
newBuilderForType() |
protected TensorShapeProto.Builder |
newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) |
static TensorShapeProto |
parseDelimitedFrom(InputStream input) |
static TensorShapeProto |
parseDelimitedFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static TensorShapeProto |
parseFrom(byte[] data) |
static TensorShapeProto |
parseFrom(byte[] data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static TensorShapeProto |
parseFrom(ByteBuffer data) |
static TensorShapeProto |
parseFrom(ByteBuffer data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static TensorShapeProto |
parseFrom(com.github.os72.protobuf351.ByteString data) |
static TensorShapeProto |
parseFrom(com.github.os72.protobuf351.ByteString data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static TensorShapeProto |
parseFrom(com.github.os72.protobuf351.CodedInputStream input) |
static TensorShapeProto |
parseFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static TensorShapeProto |
parseFrom(InputStream input) |
static TensorShapeProto |
parseFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static com.github.os72.protobuf351.Parser<TensorShapeProto> |
parser() |
TensorShapeProto.Builder |
toBuilder() |
void |
writeTo(com.github.os72.protobuf351.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int DIM_FIELD_NUMBER
public static final int UNKNOWN_RANK_FIELD_NUMBER
public final com.github.os72.protobuf351.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.github.os72.protobuf351.MessageOrBuilder
getUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3
public 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
public List<TensorShapeProto.Dim> getDimList()
Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. If an entry has size -1, this corresponds to a dimension of unknown size. The names are optional. The order of entries in "dim" matters: It indicates the layout of the values in the tensor in-memory representation. The first entry in "dim" is the outermost dimension used to layout the values, the last entry is the innermost dimension. This matches the in-memory layout of RowMajor Eigen tensors. If "dim.size()" > 0, "unknown_rank" must be false.
repeated .tensorflow.TensorShapeProto.Dim dim = 2;
getDimList
in interface TensorShapeProtoOrBuilder
public List<? extends TensorShapeProto.DimOrBuilder> getDimOrBuilderList()
Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. If an entry has size -1, this corresponds to a dimension of unknown size. The names are optional. The order of entries in "dim" matters: It indicates the layout of the values in the tensor in-memory representation. The first entry in "dim" is the outermost dimension used to layout the values, the last entry is the innermost dimension. This matches the in-memory layout of RowMajor Eigen tensors. If "dim.size()" > 0, "unknown_rank" must be false.
repeated .tensorflow.TensorShapeProto.Dim dim = 2;
getDimOrBuilderList
in interface TensorShapeProtoOrBuilder
public int getDimCount()
Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. If an entry has size -1, this corresponds to a dimension of unknown size. The names are optional. The order of entries in "dim" matters: It indicates the layout of the values in the tensor in-memory representation. The first entry in "dim" is the outermost dimension used to layout the values, the last entry is the innermost dimension. This matches the in-memory layout of RowMajor Eigen tensors. If "dim.size()" > 0, "unknown_rank" must be false.
repeated .tensorflow.TensorShapeProto.Dim dim = 2;
getDimCount
in interface TensorShapeProtoOrBuilder
public TensorShapeProto.Dim getDim(int index)
Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. If an entry has size -1, this corresponds to a dimension of unknown size. The names are optional. The order of entries in "dim" matters: It indicates the layout of the values in the tensor in-memory representation. The first entry in "dim" is the outermost dimension used to layout the values, the last entry is the innermost dimension. This matches the in-memory layout of RowMajor Eigen tensors. If "dim.size()" > 0, "unknown_rank" must be false.
repeated .tensorflow.TensorShapeProto.Dim dim = 2;
getDim
in interface TensorShapeProtoOrBuilder
public TensorShapeProto.DimOrBuilder getDimOrBuilder(int index)
Dimensions of the tensor, such as {"input", 30}, {"output", 40} for a 30 x 40 2D tensor. If an entry has size -1, this corresponds to a dimension of unknown size. The names are optional. The order of entries in "dim" matters: It indicates the layout of the values in the tensor in-memory representation. The first entry in "dim" is the outermost dimension used to layout the values, the last entry is the innermost dimension. This matches the in-memory layout of RowMajor Eigen tensors. If "dim.size()" > 0, "unknown_rank" must be false.
repeated .tensorflow.TensorShapeProto.Dim dim = 2;
getDimOrBuilder
in interface TensorShapeProtoOrBuilder
public boolean getUnknownRank()
If true, the number of dimensions in the shape is unknown. If true, "dim.size()" must be 0.
bool unknown_rank = 3;
getUnknownRank
in interface TensorShapeProtoOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
isInitialized
in class com.github.os72.protobuf351.GeneratedMessageV3
public void writeTo(com.github.os72.protobuf351.CodedOutputStream output) throws IOException
writeTo
in interface com.github.os72.protobuf351.MessageLite
writeTo
in class com.github.os72.protobuf351.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.github.os72.protobuf351.MessageLite
getSerializedSize
in class com.github.os72.protobuf351.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.github.os72.protobuf351.Message
equals
in class com.github.os72.protobuf351.AbstractMessage
public int hashCode()
hashCode
in interface com.github.os72.protobuf351.Message
hashCode
in class com.github.os72.protobuf351.AbstractMessage
public static TensorShapeProto parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static TensorShapeProto parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static TensorShapeProto parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static TensorShapeProto parseFrom(com.github.os72.protobuf351.ByteString data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static TensorShapeProto parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static TensorShapeProto parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static TensorShapeProto parseFrom(InputStream input) throws IOException
IOException
public static TensorShapeProto parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TensorShapeProto parseDelimitedFrom(InputStream input) throws IOException
IOException
public static TensorShapeProto parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static TensorShapeProto parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOException
public static TensorShapeProto parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public TensorShapeProto.Builder newBuilderForType()
newBuilderForType
in interface com.github.os72.protobuf351.Message
newBuilderForType
in interface com.github.os72.protobuf351.MessageLite
public static TensorShapeProto.Builder newBuilder()
public static TensorShapeProto.Builder newBuilder(TensorShapeProto prototype)
public TensorShapeProto.Builder toBuilder()
toBuilder
in interface com.github.os72.protobuf351.Message
toBuilder
in interface com.github.os72.protobuf351.MessageLite
protected TensorShapeProto.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public static TensorShapeProto getDefaultInstance()
public static com.github.os72.protobuf351.Parser<TensorShapeProto> parser()
public com.github.os72.protobuf351.Parser<TensorShapeProto> getParserForType()
getParserForType
in interface com.github.os72.protobuf351.Message
getParserForType
in interface com.github.os72.protobuf351.MessageLite
getParserForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public TensorShapeProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
Copyright © 2018. All rights reserved.