ResourceHandleProto.DtypeAndShape

public static final class ResourceHandleProto.DtypeAndShape

 Protocol buffer representing a pair of (data type, tensor shape).
 
Protobuf type tensorflow.ResourceHandleProto.DtypeAndShape

Nested Classes

class ResourceHandleProto.DtypeAndShape.Builder
 Protocol buffer representing a pair of (data type, tensor shape). 

Constants

int DTYPE_FIELD_NUMBER
int SHAPE_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
static ResourceHandleProto.DtypeAndShape
ResourceHandleProto.DtypeAndShape
final static com.google.protobuf.Descriptors.Descriptor
DataType
getDtype()
.tensorflow.DataType dtype = 1;
int
getDtypeValue()
.tensorflow.DataType dtype = 1;
int
TensorShapeProto
getShape()
.tensorflow.TensorShapeProto shape = 2;
TensorShapeProtoOrBuilder
getShapeOrBuilder()
.tensorflow.TensorShapeProto shape = 2;
final com.google.protobuf.UnknownFieldSet
boolean
hasShape()
.tensorflow.TensorShapeProto shape = 2;
int
final boolean
static ResourceHandleProto.DtypeAndShape.Builder
static ResourceHandleProto.DtypeAndShape.Builder
ResourceHandleProto.DtypeAndShape.Builder
static ResourceHandleProto.DtypeAndShape
parseDelimitedFrom(InputStream input)
static ResourceHandleProto.DtypeAndShape
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ResourceHandleProto.DtypeAndShape
parseFrom(ByteBuffer data)
static ResourceHandleProto.DtypeAndShape
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ResourceHandleProto.DtypeAndShape
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ResourceHandleProto.DtypeAndShape
parseFrom(com.google.protobuf.CodedInputStream input)
static ResourceHandleProto.DtypeAndShape
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ResourceHandleProto.DtypeAndShape
parseFrom(com.google.protobuf.ByteString data)
static ResourceHandleProto.DtypeAndShape
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ResourceHandleProto.DtypeAndShape
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
ResourceHandleProto.DtypeAndShape.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int DTYPE_FIELD_NUMBER

Constant Value: 1

public static final int SHAPE_FIELD_NUMBER

Constant Value: 2

Public Methods

public boolean equals (Object obj)

public static ResourceHandleProto.DtypeAndShape getDefaultInstance ()

public ResourceHandleProto.DtypeAndShape getDefaultInstanceForType ()

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

public DataType getDtype ()

.tensorflow.DataType dtype = 1;

public int getDtypeValue ()

.tensorflow.DataType dtype = 1;

public getParserForType ()

public int getSerializedSize ()

public TensorShapeProto getShape ()

.tensorflow.TensorShapeProto shape = 2;

public TensorShapeProtoOrBuilder getShapeOrBuilder ()

.tensorflow.TensorShapeProto shape = 2;

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

public boolean hasShape ()

.tensorflow.TensorShapeProto shape = 2;

public int hashCode ()

public final boolean isInitialized ()

public static ResourceHandleProto.DtypeAndShape.Builder newBuilder ()

public ResourceHandleProto.DtypeAndShape.Builder newBuilderForType ()

public static ResourceHandleProto.DtypeAndShape parseDelimitedFrom (InputStream input)

Throws
IOException

public static ResourceHandleProto.DtypeAndShape parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static ResourceHandleProto.DtypeAndShape parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static ResourceHandleProto.DtypeAndShape parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static ResourceHandleProto.DtypeAndShape parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static ResourceHandleProto.DtypeAndShape parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

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

Throws
InvalidProtocolBufferException

public static ResourceHandleProto.DtypeAndShape parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static ResourceHandleProto.DtypeAndShape parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static ResourceHandleProto.DtypeAndShape parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException