mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-24 22:17:32 +00:00
13 lines
354 B
TypeScript
13 lines
354 B
TypeScript
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
|
|
import {Tensor} from './tensor.js';
|
|
|
|
type NonTensorType = never;
|
|
|
|
/**
|
|
* Type OnnxValue Represents both tensors and non-tensors value for model's inputs/outputs.
|
|
*
|
|
* NOTE: currently not support non-tensor
|
|
*/
|
|
export type OnnxValue = Tensor|NonTensorType;
|