"...Microsoft.ML.OnnxRuntime.EndToEndTests.Mobile.sln" did not exist on "cf1acfd2990a25052481bc7a64b5bbadbbdd3676"
onnx-value.ts 351 Bytes
Newer Older
gaoqiong's avatar
gaoqiong committed
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

import {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;