Interface Tensor#

interface Tensor {
    data: number[];
    getData(): number[];
    getElementType(): element;
    getShape(): number[];
    getSize(): number;
}

Properties#

data

data: SupportedTypedArray

Methods#

getData

getData(): number[]

getElementType

getElementType(): element

getShape

getShape(): number[]

getSize

getSize(): number[]