Download modules/dnn/src/tensorflow/tf_io.hpp from tgollogly/test: direct link, hf CLI and curl.
- Browser
- Download file 1.65 kB
-
https://huggingface.co/tgollogly/test/resolve/main/modules/dnn/src/tensorflow/tf_io.hpp
- Command line
-
hf download hf://tgollogly/test/modules/dnn/src/tensorflow/tf_io.hpp
-
curl -L -o tf_io.hpp https://huggingface.co/tgollogly/test/resolve/main/modules/dnn/src/tensorflow/tf_io.hpp
1.65 kB
| // This file is part of OpenCV project. | |
| // It is subject to the license terms in the LICENSE file found in the top-level directory | |
| // of this distribution and at http://opencv.org/license.html. | |
| // Copyright (C) 2016, Intel Corporation, all rights reserved. | |
| // Third party copyrights are property of their respective owners. | |
| /* | |
| Declaration of various functions which are related to Tensorflow models reading. | |
| */ | |
| namespace tensorflow { using namespace opencv_tensorflow; } | |
| namespace cv { | |
| namespace dnn { | |
| // Read parameters from a file into a GraphDef proto message. | |
| void ReadTFNetParamsFromBinaryFileOrDie(const char* param_file, | |
| tensorflow::GraphDef* param); | |
| void ReadTFNetParamsFromTextFileOrDie(const char* param_file, | |
| tensorflow::GraphDef* param); | |
| // Read parameters from a memory buffer into a GraphDef proto message. | |
| void ReadTFNetParamsFromBinaryBufferOrDie(const char* data, size_t len, | |
| tensorflow::GraphDef* param); | |
| void ReadTFNetParamsFromTextBufferOrDie(const char* data, size_t len, | |
| tensorflow::GraphDef* param); | |
| } | |
| } | |