Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions js/common/lib/tensor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export declare namespace Tensor {
int64: BigInt64Array;
string: string[];
bool: Uint8Array;
float16: Uint16Array; // Keep using Uint16Array until we have a concrete solution for float 16.
float16: Uint16Array | TryGetGlobalType<'Float16Array', never>;
float64: Float64Array;
uint32: Uint32Array;
uint64: BigUint64Array;
Expand All @@ -103,7 +103,7 @@ export declare namespace Tensor {
int64: bigint;
string: string;
bool: boolean;
float16: number; // Keep using Uint16Array until we have a concrete solution for float 16.
float16: number;
float64: number;
uint32: number;
uint64: bigint;
Expand Down