Anonymous View
ONNX Runtime JavaScript API
    Preparing search index...

    Interface OptionsTensorFormat

    interface OptionsTensorFormat {
        tensorFormat?: ImageFormat;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    tensorFormat?: ImageFormat

    Describes the image format of the tensor.

    NOTE: this is different from option 'format'. While option 'format' represents the original image, 'tensorFormat' represents the target format of the tensor. A transpose will be performed if they are different.