ONNX Runtime JavaScript API
    Preparing search index...

    Type Alias FetchesType

    FetchesType: readonly string[] | NullableOnnxValueMapType

    A fetches (model outputs) could be one of the following:

    • Omitted. Use model's output names definition.
    • An array of string indicating the output names.
    • An object that use output names as keys and OnnxValue or null as corresponding values.

    different from input argument, in output, OnnxValue is optional. If an OnnxValue is present it will be used as a pre-allocated value by the inference engine; if omitted, inference engine will allocate buffer internally.