Package inference
Interface GrpcService.ModelMetadataResponse.TensorMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GrpcService.ModelMetadataResponse.TensorMetadata,GrpcService.ModelMetadataResponse.TensorMetadata.Builder
- Enclosing class:
GrpcService.ModelMetadataResponse
public static interface GrpcService.ModelMetadataResponse.TensorMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()@@ @@ .. cpp:var:: string name @@ @@ The tensor name. @@
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()@@ @@ .. cpp:var:: string name @@ @@ The tensor name. @@
string name = 1;- Returns:
- The bytes for name.
-
getDatatype
String getDatatype()@@ @@ .. cpp:var:: string datatype @@ @@ The tensor data type. @@
string datatype = 2;- Returns:
- The datatype.
-
getDatatypeBytes
com.google.protobuf.ByteString getDatatypeBytes()@@ @@ .. cpp:var:: string datatype @@ @@ The tensor data type. @@
string datatype = 2;- Returns:
- The bytes for datatype.
-
getShapeList
@@ @@ .. cpp:var:: int64 shape (repeated) @@ @@ The tensor shape. A variable-size dimension is represented @@ by a -1 value. @@
repeated int64 shape = 3;- Returns:
- A list containing the shape.
-
getShapeCount
int getShapeCount()@@ @@ .. cpp:var:: int64 shape (repeated) @@ @@ The tensor shape. A variable-size dimension is represented @@ by a -1 value. @@
repeated int64 shape = 3;- Returns:
- The count of shape.
-
getShape
long getShape(int index) @@ @@ .. cpp:var:: int64 shape (repeated) @@ @@ The tensor shape. A variable-size dimension is represented @@ by a -1 value. @@
repeated int64 shape = 3;- Parameters:
index- The index of the element to return.- Returns:
- The shape at the given index.
-