mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-21 21:52:11 +00:00
14 lines
361 B
TypeScript
14 lines
361 B
TypeScript
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||
|
|
// Licensed under the MIT License.
|
||
|
|
|
||
|
|
import {Tensor as Tensor} from './tensor';
|
||
|
|
|
||
|
|
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;
|