Interface InputTensorInfo

interface InputTensorInfo {
    setElementType(elementType): InputTensorInfo;
    setLayout(layout): InputTensorInfo;
    setShape(shape): InputTensorInfo;
}

Methods

setElementType

setElementType(elementType): InputTensorInfo

Parameters

Returns InputTensorInfo

setLayout

setLayout(layout): InputTensorInfo

Parameters

  • layout: string

Returns InputTensorInfo

setShape

setShape(shape): InputTensorInfo

Parameters

  • shape: number[]

Returns InputTensorInfo