Package inference
Interface GrpcService.InferTensorContentsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GrpcService.InferTensorContents,GrpcService.InferTensorContents.Builder
- Enclosing class:
GrpcService
public static interface GrpcService.InferTensorContentsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleangetBoolContents(int index) @@ @@ ..int@@ @@ ..@@ @@ ..com.google.protobuf.ByteStringgetBytesContents(int index) @@ @@ ..int@@ @@ ..List<com.google.protobuf.ByteString> @@ @@ ..floatgetFp32Contents(int index) @@ @@ ..int@@ @@ ..@@ @@ ..doublegetFp64Contents(int index) @@ @@ ..int@@ @@ ..@@ @@ ..longgetInt64Contents(int index) @@ @@ ..int@@ @@ ..@@ @@ ..intgetIntContents(int index) @@ @@ ..int@@ @@ ..@@ @@ ..longgetUint64Contents(int index) @@ @@ ..int@@ @@ ..@@ @@ ..intgetUintContents(int index) @@ @@ ..int@@ @@ ..@@ @@ ..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
-
getBoolContentsList
@@ @@ .. cpp:var:: bool bool_contents (repeated) @@ @@ Representation for BOOL data type. The size must match what is @@ expected by the tensor's shape. The contents must be the flattened, @@ one-dimensional, row-major order of the tensor elements. @@
repeated bool bool_contents = 1;- Returns:
- A list containing the boolContents.
-
getBoolContentsCount
int getBoolContentsCount()@@ @@ .. cpp:var:: bool bool_contents (repeated) @@ @@ Representation for BOOL data type. The size must match what is @@ expected by the tensor's shape. The contents must be the flattened, @@ one-dimensional, row-major order of the tensor elements. @@
repeated bool bool_contents = 1;- Returns:
- The count of boolContents.
-
getBoolContents
boolean getBoolContents(int index) @@ @@ .. cpp:var:: bool bool_contents (repeated) @@ @@ Representation for BOOL data type. The size must match what is @@ expected by the tensor's shape. The contents must be the flattened, @@ one-dimensional, row-major order of the tensor elements. @@
repeated bool bool_contents = 1;- Parameters:
index- The index of the element to return.- Returns:
- The boolContents at the given index.
-
getIntContentsList
@@ @@ .. cpp:var:: int32 int_contents (repeated) @@ @@ Representation for INT8, INT16, and INT32 data types. The size @@ must match what is expected by the tensor's shape. The contents @@ must be the flattened, one-dimensional, row-major order of the @@ tensor elements. @@
repeated int32 int_contents = 2;- Returns:
- A list containing the intContents.
-
getIntContentsCount
int getIntContentsCount()@@ @@ .. cpp:var:: int32 int_contents (repeated) @@ @@ Representation for INT8, INT16, and INT32 data types. The size @@ must match what is expected by the tensor's shape. The contents @@ must be the flattened, one-dimensional, row-major order of the @@ tensor elements. @@
repeated int32 int_contents = 2;- Returns:
- The count of intContents.
-
getIntContents
int getIntContents(int index) @@ @@ .. cpp:var:: int32 int_contents (repeated) @@ @@ Representation for INT8, INT16, and INT32 data types. The size @@ must match what is expected by the tensor's shape. The contents @@ must be the flattened, one-dimensional, row-major order of the @@ tensor elements. @@
repeated int32 int_contents = 2;- Parameters:
index- The index of the element to return.- Returns:
- The intContents at the given index.
-
getInt64ContentsList
@@ @@ .. cpp:var:: int64 int64_contents (repeated) @@ @@ Representation for INT64 data types. The size must match what @@ is expected by the tensor's shape. The contents must be the @@ flattened, one-dimensional, row-major order of the tensor elements. @@
repeated int64 int64_contents = 3;- Returns:
- A list containing the int64Contents.
-
getInt64ContentsCount
int getInt64ContentsCount()@@ @@ .. cpp:var:: int64 int64_contents (repeated) @@ @@ Representation for INT64 data types. The size must match what @@ is expected by the tensor's shape. The contents must be the @@ flattened, one-dimensional, row-major order of the tensor elements. @@
repeated int64 int64_contents = 3;- Returns:
- The count of int64Contents.
-
getInt64Contents
long getInt64Contents(int index) @@ @@ .. cpp:var:: int64 int64_contents (repeated) @@ @@ Representation for INT64 data types. The size must match what @@ is expected by the tensor's shape. The contents must be the @@ flattened, one-dimensional, row-major order of the tensor elements. @@
repeated int64 int64_contents = 3;- Parameters:
index- The index of the element to return.- Returns:
- The int64Contents at the given index.
-
getUintContentsList
@@ @@ .. cpp:var:: uint32 uint_contents (repeated) @@ @@ Representation for UINT8, UINT16, and UINT32 data types. The size @@ must match what is expected by the tensor's shape. The contents @@ must be the flattened, one-dimensional, row-major order of the @@ tensor elements. @@
repeated uint32 uint_contents = 4;- Returns:
- A list containing the uintContents.
-
getUintContentsCount
int getUintContentsCount()@@ @@ .. cpp:var:: uint32 uint_contents (repeated) @@ @@ Representation for UINT8, UINT16, and UINT32 data types. The size @@ must match what is expected by the tensor's shape. The contents @@ must be the flattened, one-dimensional, row-major order of the @@ tensor elements. @@
repeated uint32 uint_contents = 4;- Returns:
- The count of uintContents.
-
getUintContents
int getUintContents(int index) @@ @@ .. cpp:var:: uint32 uint_contents (repeated) @@ @@ Representation for UINT8, UINT16, and UINT32 data types. The size @@ must match what is expected by the tensor's shape. The contents @@ must be the flattened, one-dimensional, row-major order of the @@ tensor elements. @@
repeated uint32 uint_contents = 4;- Parameters:
index- The index of the element to return.- Returns:
- The uintContents at the given index.
-
getUint64ContentsList
@@ @@ .. cpp:var:: uint64 uint64_contents (repeated) @@ @@ Representation for UINT64 data types. The size must match what @@ is expected by the tensor's shape. The contents must be the @@ flattened, one-dimensional, row-major order of the tensor elements. @@
repeated uint64 uint64_contents = 5;- Returns:
- A list containing the uint64Contents.
-
getUint64ContentsCount
int getUint64ContentsCount()@@ @@ .. cpp:var:: uint64 uint64_contents (repeated) @@ @@ Representation for UINT64 data types. The size must match what @@ is expected by the tensor's shape. The contents must be the @@ flattened, one-dimensional, row-major order of the tensor elements. @@
repeated uint64 uint64_contents = 5;- Returns:
- The count of uint64Contents.
-
getUint64Contents
long getUint64Contents(int index) @@ @@ .. cpp:var:: uint64 uint64_contents (repeated) @@ @@ Representation for UINT64 data types. The size must match what @@ is expected by the tensor's shape. The contents must be the @@ flattened, one-dimensional, row-major order of the tensor elements. @@
repeated uint64 uint64_contents = 5;- Parameters:
index- The index of the element to return.- Returns:
- The uint64Contents at the given index.
-
getFp32ContentsList
@@ @@ .. cpp:var:: float fp32_contents (repeated) @@ @@ Representation for FP32 data type. The size must match what is @@ expected by the tensor's shape. The contents must be the flattened, @@ one-dimensional, row-major order of the tensor elements. @@
repeated float fp32_contents = 6;- Returns:
- A list containing the fp32Contents.
-
getFp32ContentsCount
int getFp32ContentsCount()@@ @@ .. cpp:var:: float fp32_contents (repeated) @@ @@ Representation for FP32 data type. The size must match what is @@ expected by the tensor's shape. The contents must be the flattened, @@ one-dimensional, row-major order of the tensor elements. @@
repeated float fp32_contents = 6;- Returns:
- The count of fp32Contents.
-
getFp32Contents
float getFp32Contents(int index) @@ @@ .. cpp:var:: float fp32_contents (repeated) @@ @@ Representation for FP32 data type. The size must match what is @@ expected by the tensor's shape. The contents must be the flattened, @@ one-dimensional, row-major order of the tensor elements. @@
repeated float fp32_contents = 6;- Parameters:
index- The index of the element to return.- Returns:
- The fp32Contents at the given index.
-
getFp64ContentsList
@@ @@ .. cpp:var:: double fp64_contents (repeated) @@ @@ Representation for FP64 data type. The size must match what is @@ expected by the tensor's shape. The contents must be the flattened, @@ one-dimensional, row-major order of the tensor elements. @@
repeated double fp64_contents = 7;- Returns:
- A list containing the fp64Contents.
-
getFp64ContentsCount
int getFp64ContentsCount()@@ @@ .. cpp:var:: double fp64_contents (repeated) @@ @@ Representation for FP64 data type. The size must match what is @@ expected by the tensor's shape. The contents must be the flattened, @@ one-dimensional, row-major order of the tensor elements. @@
repeated double fp64_contents = 7;- Returns:
- The count of fp64Contents.
-
getFp64Contents
double getFp64Contents(int index) @@ @@ .. cpp:var:: double fp64_contents (repeated) @@ @@ Representation for FP64 data type. The size must match what is @@ expected by the tensor's shape. The contents must be the flattened, @@ one-dimensional, row-major order of the tensor elements. @@
repeated double fp64_contents = 7;- Parameters:
index- The index of the element to return.- Returns:
- The fp64Contents at the given index.
-
getBytesContentsList
List<com.google.protobuf.ByteString> getBytesContentsList()@@ @@ .. cpp:var:: bytes bytes_contents (repeated) @@ @@ Representation for BYTES data type. The size must match what is @@ expected by the tensor's shape. The contents must be the flattened, @@ one-dimensional, row-major order of the tensor elements. @@
repeated bytes bytes_contents = 8;- Returns:
- A list containing the bytesContents.
-
getBytesContentsCount
int getBytesContentsCount()@@ @@ .. cpp:var:: bytes bytes_contents (repeated) @@ @@ Representation for BYTES data type. The size must match what is @@ expected by the tensor's shape. The contents must be the flattened, @@ one-dimensional, row-major order of the tensor elements. @@
repeated bytes bytes_contents = 8;- Returns:
- The count of bytesContents.
-
getBytesContents
com.google.protobuf.ByteString getBytesContents(int index) @@ @@ .. cpp:var:: bytes bytes_contents (repeated) @@ @@ Representation for BYTES data type. The size must match what is @@ expected by the tensor's shape. The contents must be the flattened, @@ one-dimensional, row-major order of the tensor elements. @@
repeated bytes bytes_contents = 8;- Parameters:
index- The index of the element to return.- Returns:
- The bytesContents at the given index.
-