在 Windows 上的 C++ 中使用 tensorflow [英] Using tensorflow in C++ on Windows

查看:49
本文介绍了在 Windows 上的 C++ 中使用 tensorflow的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道有很多在 C++ 中使用 Tensorflow 的方法,他们甚至有一个 文档它,但我似乎能够得到它的图书馆.我已经检查了 从源代码构建 但它似乎构建了一个 pip 包而不是一个库我可以链接到我的项目.我还找到了一个 教程 但是当我试过了,内存不足,我的电脑崩溃了.我的问题是,我怎样才能真正让 C++ 库在我的项目上工作?我确实有这些要求,我必须使用 C++ 中的 Visual Studio 在 Windows 上工作.我想要的是,如果我能得到一个可以链接的预编译 DLL,但我还没有找到这样的东西,我愿意接受其他替代方案.

I know there are ways of using Tensorflow in C++ they even have a documentation for it but I can seem to be able to get the library for it. I've checked the build from source instructions but it seems to builds a pip package rather than a library I can link to my project. I also found a tutorial but when I tried it out I ran out of memory and my computer crashed. My question is, how can I actually get the C++ library to work on my project? I do have these requirements, I have to work on windows with Visual Studio in C++. What I would love to is if I could get a pre-compiled DLL that I could just link but I haven't found such a thing and I'm open to other alternatives.

推荐答案

你可以从这里查看neural2D:

You could check out neural2D from here:

https://github.com/davidrmiller/neural2d

这是一个没有任何依赖库的神经网络实现(全部从头开始编写).

It is a neural network implementation without any dependent libraries (all written from scratch).

这篇关于在 Windows 上的 C++ 中使用 tensorflow的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆