![]() |
|
|||
File indexing completed on 2025-02-22 10:42:46
0001 /* 0002 * SPDX-License-Identifier: Apache-2.0 0003 */ 0004 0005 #pragma once 0006 0007 #include <vector> 0008 0009 #include "onnx/onnx-operators_pb.h" 0010 0011 namespace ONNX_NAMESPACE { 0012 0013 template <typename T> 0014 TensorProto ToTensor(const T& value); 0015 0016 template <typename T> 0017 TensorProto ToTensor(const std::vector<T>& values); 0018 0019 template <typename T> 0020 const std::vector<T> ParseData(const TensorProto* tensor_proto); 0021 0022 } // namespace ONNX_NAMESPACE
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |