ResourceDtypeAndShape

public final class ResourceDtypeAndShape

Protobuf type tensorflow.eager.ResourceDtypeAndShape

Nested Classes

class ResourceDtypeAndShape.Builder Protobuf type tensorflow.eager.ResourceDtypeAndShape

Constants

int DTYPE_FIELD_NUMBER
int SHAPE_FIELD_NUMBER

Public Methods

boolean
equals (Object obj)
static ResourceDtypeAndShape
ResourceDtypeAndShape
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 ResourceDtypeAndShape.Builder
static ResourceDtypeAndShape.Builder
ResourceDtypeAndShape.Builder
static ResourceDtypeAndShape
parseDelimitedFrom (InputStream input)
static ResourceDtypeAndShape
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ResourceDtypeAndShape
parseFrom (ByteBuffer data)
static ResourceDtypeAndShape
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ResourceDtypeAndShape
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ResourceDtypeAndShape
parseFrom (com.google.protobuf.CodedInputStream input)
static ResourceDtypeAndShape
parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ResourceDtypeAndShape
parseFrom (com.google.protobuf.ByteString data)
static ResourceDtypeAndShape
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ResourceDtypeAndShape
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
ResourceDtypeAndShape.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 ResourceDtypeAndShape getDefaultInstance ()

public ResourceDtypeAndShape 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 ResourceDtypeAndShape.Builder newBuilder ( ResourceDtypeAndShape prototype)

public static ResourceDtypeAndShape.Builder newBuilder ()

public ResourceDtypeAndShape.Builder newBuilderForType ()

public static ResourceDtypeAndShape parseDelimitedFrom (InputStream input)

Throws
IOException

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

Throws
IOException

public static ResourceDtypeAndShape parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

public static ResourceDtypeAndShape parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

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

Throws
InvalidProtocolBufferException

public static ResourceDtypeAndShape parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

public static parser ()