TensorDescription

public final class TensorDescription

Protobuf type tensorflow.TensorDescription

Nested Classes

class TensorDescription.Builder Protobuf type tensorflow.TensorDescription  

Constants

int ALLOCATION_DESCRIPTION_FIELD_NUMBER
int DTYPE_FIELD_NUMBER
int SHAPE_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
AllocationDescription
getAllocationDescription()
 Information about the size and allocator used for the data
 
.tensorflow.AllocationDescription allocation_description = 4;
AllocationDescriptionOrBuilder
getAllocationDescriptionOrBuilder()
 Information about the size and allocator used for the data
 
.tensorflow.AllocationDescription allocation_description = 4;
static TensorDescription
TensorDescription
final static com.google.protobuf.Descriptors.Descriptor
DataType
getDtype()
 Data type of tensor elements
 
.tensorflow.DataType dtype = 1;
int
getDtypeValue()
 Data type of tensor elements
 
.tensorflow.DataType dtype = 1;
int
TensorShapeProto
getShape()
 Shape of the tensor.
TensorShapeProtoOrBuilder
getShapeOrBuilder()
 Shape of the tensor.
final com.google.protobuf.UnknownFieldSet
boolean
hasAllocationDescription()
 Information about the size and allocator used for the data
 
.tensorflow.AllocationDescription allocation_description = 4;
boolean
hasShape()
 Shape of the tensor.
int
final boolean
static TensorDescription.Builder
static TensorDescription.Builder
TensorDescription.Builder
static TensorDescription
parseDelimitedFrom(InputStream input)
static TensorDescription
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorDescription
parseFrom(ByteBuffer data)
static TensorDescription
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorDescription
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorDescription
parseFrom(com.google.protobuf.CodedInputStream input)
static TensorDescription
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorDescription
parseFrom(com.google.protobuf.ByteString data)
static TensorDescription
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TensorDescription
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
TensorDescription.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int ALLOCATION_DESCRIPTION_FIELD_NUMBER

Constant Value: 4

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 AllocationDescription getAllocationDescription ()

 Information about the size and allocator used for the data
 
.tensorflow.AllocationDescription allocation_description = 4;

public AllocationDescriptionOrBuilder getAllocationDescriptionOrBuilder ()

 Information about the size and allocator used for the data
 
.tensorflow.AllocationDescription allocation_description = 4;

public static TensorDescription getDefaultInstance ()

public TensorDescription getDefaultInstanceForType ()

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

public DataType getDtype ()

 Data type of tensor elements
 
.tensorflow.DataType dtype = 1;

public int getDtypeValue ()

 Data type of tensor elements
 
.tensorflow.DataType dtype = 1;

public getParserForType ()

public int getSerializedSize ()

public TensorShapeProto getShape ()

 Shape of the tensor.
 
.tensorflow.TensorShapeProto shape = 2;

public TensorShapeProtoOrBuilder getShapeOrBuilder ()

 Shape of the tensor.
 
.tensorflow.TensorShapeProto shape = 2;

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

public boolean hasAllocationDescription ()

 Information about the size and allocator used for the data
 
.tensorflow.AllocationDescription allocation_description = 4;

public boolean hasShape ()

 Shape of the tensor.
 
.tensorflow.TensorShapeProto shape = 2;

public int hashCode ()

public final boolean isInitialized ()

public static TensorDescription.Builder newBuilder (TensorDescription prototype)

public static TensorDescription.Builder newBuilder ()

public TensorDescription.Builder newBuilderForType ()

public static TensorDescription parseDelimitedFrom (InputStream input)

Throws
IOException

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

Throws
IOException

public static TensorDescription parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

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

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

public static parser ()

public TensorDescription.Builder toBuilder ()

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

Throws
IOException