TensorShapeProto.Dim

classe final pública estática TensorShapeProto.Dim

 One dimension of the tensor.
 
tensorflow.TensorShapeProto.Dim type tensorflow.TensorShapeProto.Dim

Classes aninhadas

aula TensorShapeProto.Dim.Builder
 One dimension of the tensor. 

Constantes

int NAME_FIELD_NUMBER
int SIZE_FIELD_NUMBER

Métodos Públicos

boleano
igual a (objeto obj)
static TensorShapeProto.Dim
TensorShapeProto.Dim
final static com.google.protobuf.Descriptors.Descriptor
Fragmento
getName ()
 Optional name of the tensor dimension.
com.google.protobuf.ByteString
getNameBytes ()
 Optional name of the tensor dimension.
int
longo
getSize ()
 Size of the tensor in that dimension.
final com.google.protobuf.UnknownFieldSet
int
final booleano
static TensorShapeProto.Dim.Builder
static TensorShapeProto.Dim.Builder
TensorShapeProto.Dim.Builder
static TensorShapeProto.Dim
parseDelimitedFrom (input InputStream)
static TensorShapeProto.Dim
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorShapeProto.Dim
parseFrom (dados ByteBuffer)
static TensorShapeProto.Dim
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorShapeProto.Dim
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorShapeProto.Dim
parseFrom (com.google.protobuf.CodedInputStream input)
static TensorShapeProto.Dim
parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorShapeProto.Dim
parseFrom (com.google.protobuf.ByteString data)
static TensorShapeProto.Dim
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorShapeProto.Dim
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático
TensorShapeProto.Dim.Builder
vazio
writeTo (saída com.google.protobuf.CodedOutputStream)

Métodos herdados

Constantes

public static final int NAME_FIELD_NUMBER

Valor constante: 2

public static final int SIZE_FIELD_NUMBER

Valor Constante: 1

Métodos Públicos

public boolean equals (Object obj)

public static TensorShapeProto.Dim getDefaultInstance ()

public TensorShapeProto.Dim getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public String getName ()

 Optional name of the tensor dimension.
 
string name = 2;

public com.google.protobuf.ByteString getNameBytes ()

 Optional name of the tensor dimension.
 
string name = 2;

público getParserForType ()

public int getSerializedSize ()

public long getSize ()

 Size of the tensor in that dimension.
 This value must be >= -1, but values of -1 are reserved for "unknown"
 shapes (values of -1 mean "unknown" dimension).  Certain wrappers
 that work with TensorShapeProto may fail at runtime when deserializing
 a TensorShapeProto containing a dim value of -1.
 
int64 size = 1;

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

public final boolean isInitialized ()

public static TensorShapeProto.Dim.Builder newBuilder ()

public static TensorShapeProto.Dim.Builder newBuilder (protótipo TensorShapeProto.Dim )

public TensorShapeProto.Dim.Builder newBuilderForType ()

public static TensorShapeProto.Dim parseDelimitedFrom (InputStream input)

Lança
IOException

public static TensorShapeProto.Dim parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static TensorShapeProto.Dim parseFrom (dados ByteBuffer)

Lança
InvalidProtocolBufferException

public static TensorShapeProto.Dim parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static TensorShapeProto.Dim parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

public static TensorShapeProto.Dim parseFrom (com.google.protobuf.CodedInputStream input)

Lança
IOException

public static TensorShapeProto.Dim parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

public static TensorShapeProto.Dim parseFrom (com.google.protobuf.ByteString data)

Lança
InvalidProtocolBufferException

public static TensorShapeProto.Dim parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static TensorShapeProto.Dim parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

estática pública analisador ()

public TensorShapeProto.Dim.Builder toBuilder ()

public void writeTo (saída com.google.protobuf.CodedOutputStream)

Lança
IOException