TensorSpecProto

public final class TensorSpecProto

 A protobuf to represent tf.TensorSpec.
 
Protobuf type tensorflow.TensorSpecProto

Nested Classes

class TensorSpecProto.Builder
 A protobuf to represent tf.TensorSpec. 

Constants

int DTYPE_FIELD_NUMBER
int NAME_FIELD_NUMBER
int SHAPE_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
static TensorSpecProto
TensorSpecProto
final static com.google.protobuf.Descriptors.Descriptor
DataType
getDtype()
.tensorflow.DataType dtype = 3;
int
getDtypeValue()
.tensorflow.DataType dtype = 3;
String
getName()
string name = 1;
com.google.protobuf.ByteString
getNameBytes()
string name = 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 TensorSpecProto.Builder
static TensorSpecProto.Builder
TensorSpecProto.Builder
static TensorSpecProto
parseDelimitedFrom(InputStream input)
static TensorSpecProto
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorSpecProto
parseFrom(ByteBuffer data)
static TensorSpecProto
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorSpecProto
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorSpecProto
parseFrom(com.google.protobuf.CodedInputStream input)
static TensorSpecProto
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorSpecProto
parseFrom(com.google.protobuf.ByteString data)
static TensorSpecProto
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorSpecProto
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
TensorSpecProto.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int DTYPE_FIELD_NUMBER

Constant Value: 3

public static final int NAME_FIELD_NUMBER

Constant Value: 1

public static final int SHAPE_FIELD_NUMBER

Constant Value: 2

Public Methods

public boolean equals (Object obj)

public static TensorSpecProto getDefaultInstance ()

public TensorSpecProto getDefaultInstanceForType ()

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

public DataType getDtype ()

.tensorflow.DataType dtype = 3;

public int getDtypeValue ()

.tensorflow.DataType dtype = 3;

public String getName ()

string name = 1;

public com.google.protobuf.ByteString getNameBytes ()

string name = 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 TensorSpecProto.Builder newBuilder (TensorSpecProto prototype)

public static TensorSpecProto.Builder newBuilder ()

public TensorSpecProto.Builder newBuilderForType ()

public static TensorSpecProto parseDelimitedFrom (InputStream input)

Throws
IOException

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

Throws
IOException

public static TensorSpecProto parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

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

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

public static parser ()

public TensorSpecProto.Builder toBuilder ()

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

Throws
IOException