Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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[];
shape?: bigint[];
stringVal?: string[];
structVal?: {};
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

§
bytesVal?: Uint8Array[]
[src]

STRING

§
doubleVal?: number[]
[src]

DOUBLE

§
dtype?: "DATA_TYPE_UNSPECIFIED" | "BOOL" | "STRING" | "FLOAT" | "DOUBLE" | "INT8" | "INT16" | "INT32" | "INT64" | "UINT8" | "UINT16" | "UINT32" | "UINT64"
[src]

The data type of tensor.

§
floatVal?: number[]
[src]

FLOAT

§
int64Val?: bigint[]
[src]

INT64

§
intVal?: number[]
[src]

INT_8 INT_16 INT_32

§

A list of tensor values.

§
shape?: bigint[]
[src]

Shape of the tensor.

§
stringVal?: string[]
[src]

STRING

§
structVal?: {}
[src]

A map of string to tensor.

§
tensorVal?: Uint8Array
[src]

Serialized raw tensor content.

§
uint64Val?: bigint[]
[src]

UINT64

§
uintVal?: number[]
[src]

UINT8 UINT16 UINT32