Kano001's picture
Upload 2707 files
dc2106c verified
raw
history blame
421 Bytes
/*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <vector>
#include "onnx/onnx-operators_pb.h"
namespace ONNX_NAMESPACE {
template <typename T>
TensorProto ToTensor(const T& value);
template <typename T>
TensorProto ToTensor(const std::vector<T>& values);
template <typename T>
const std::vector<T> ParseData(const TensorProto* tensor_proto);
} // namespace ONNX_NAMESPACE