Interface Tensor

Interface Tensor

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

Properties

data

data: number[]

Methods

getData

getData(): number[]

Returns number[]

getElementType

getElementType(): element

Returns element

getShape

getShape(): number[]

Returns number[]