GoogleCloudAiplatformV1Tensor
import type { GoogleCloudAiplatformV1Tensor } from "https://googleapis.deno.dev/v1/aiplatform:v1.ts";
A tensor value type.
interface GoogleCloudAiplatformV1Tensor {
boolVal?: boolean[];
bytesVal?: Uint8Array[];
doubleVal?: number[];
dtype?:
| "DATA_TYPE_UNSPECIFIED"
| "BOOL"
| "STRING"
| "FLOAT"
| "DOUBLE"
| "INT8"
| "INT16"
| "INT32"
| "INT64"
| "UINT8"
| "UINT16"
| "UINT32"
| "UINT64";
floatVal?: number[];
int64Val?: bigint[];
intVal?: number[];
listVal?: GoogleCloudAiplatformV1Tensor[];
shape?: bigint[];
stringVal?: string[];
structVal?: {};
[key: string]: GoogleCloudAiplatformV1Tensor;
tensorVal?: Uint8Array;
uint64Val?: bigint[];
uintVal?: number[];
}§Properties
§
boolVal?: boolean[]
[src]Type specific representations that make it easy to create tensor protos in all languages. Only the representation corresponding to "dtype" can be set. The values hold the flattened representation of the tensor in row major order. BOOL
§
dtype?: "DATA_TYPE_UNSPECIFIED" | "BOOL" | "STRING" | "FLOAT" | "DOUBLE" | "INT8" | "INT16" | "INT32" | "INT64" | "UINT8" | "UINT16" | "UINT32" | "UINT64"
[src]The data type of tensor.
§
listVal?: GoogleCloudAiplatformV1Tensor[]
[src]A list of tensor values.
§
structVal?: {}
[src][key: string]: GoogleCloudAiplatformV1Tensor;
A map of string to tensor.