Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 1.28 KB

File metadata and controls

35 lines (18 loc) · 1.28 KB

Interface: TensorPtr

Defined in: types/common.ts:130

Represents a pointer to a tensor, including its data buffer, size dimensions, and scalar type.

Properties

dataPtr

dataPtr: TensorBuffer

Defined in: types/common.ts:131

The data buffer of the tensor.


scalarType

scalarType: ScalarType

Defined in: types/common.ts:133

The scalar type of the tensor, as defined in the ScalarType enum.


sizes

sizes: number[]

Defined in: types/common.ts:132

An array representing the size of each dimension of the tensor.