public static final class
ResourceHandleProto.DtypeAndShape
Protocol buffer representing a pair of (data type, tensor shape).
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 |
hashCode()
|
| final boolean | |
| static ResourceHandleProto.DtypeAndShape.Builder |
newBuilder(ResourceHandleProto.DtypeAndShape prototype)
|
| 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 final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public int getDtypeValue ()
.tensorflow.DataType dtype = 1;
public
getParserForType
()
public int getSerializedSize ()
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 (ResourceHandleProto.DtypeAndShape prototype)
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 |
|---|