Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can run tensorflowgpu by python. How should my C code execute GPU? #494

Open
bbhxwl opened this issue Apr 1, 2021 · 2 comments
Open

Comments

@bbhxwl
Copy link

bbhxwl commented Apr 1, 2021

tf.device('/gpu:1'):

How to use C#? In the following code? My first day of study tensorflow, I currently have a python tensorflow project developed by someone else, I want to learn how to use C #

@bbhxwl
Copy link
Author

bbhxwl commented Apr 1, 2021

image

@bbhxwl
Copy link
Author

bbhxwl commented Apr 1, 2021

I'm CUDA9.0, and python program can use GPU normally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant