support
TensorFlow.NET: Machine Learning in C#
Develop ML models in C# and F# with TensorFlow.NET, for founders building AI-driven apps, backed by 3.4k+ GitHub stars
3,393 stars541 forksC#Health Score 9/10Updated 1/22/2025100% free · open source
What it does
TensorFlow.NET allows developers to build and run machine learning models in C# and F# using the TensorFlow framework
Install / run
Install-Package TensorFlow.NET -Version 2.4.0When to use it
- •Building AI-driven Windows desktop or mobile apps
- •Developing machine learning models for .NET-based web applications
- •Integrating TensorFlow models into existing C# or F# projects
Quick start
- 1Create a new C# console application using `dotnet new console`
- 2Install the TensorFlow.NET NuGet package using `Install-Package TensorFlow.NET`
- 3Import the TensorFlow.NET namespace with `using TensorFlow;`
- 4Load a pre-trained TensorFlow model using `TF.Graph.Import`
- 5Use the `TF.Session` class to run the model and get predictions
Ready-to-paste prompt
TF.Graph.Import("path/to/model.pb"); var session = new TF.Session(); var input = TF Placeholder("input:0"); var output = session.Run(new[] { input }, new[] { "output:0" });Heads up: Make sure to install the Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017, or 2019, as it is a prerequisite for running TensorFlow.NET
Saves to your device
Topics
chatbot
csharp
deep-learning
dotnetcore
keras
machine-learning
scisharp
tensorflow
What's inside — free to inspect
No purchase needed
Read the entire source before you build — unlike paid marketplaces that hide it behind a buy button.
Details
Creator
SciSharp
Language
C#
Category
support
Published
12/10/2018
Are you the creator of this tool? Claim your listing → and earn 85% of every sale.
Related skills
More support tools founders pair with this one.
support★ 66,485
gpt4free: Free Language Models
Get free access to powerful language models with gpt4free, ideal for startup founders needing chatbot solutions, with 66k+ GitHub stars
support★ 62,469
mem0: AI Memory Layer
Get universal memory for AI agents with mem0, for founders building AI-powered apps, backed by 59k+ GitHub stars
support★ 59,036
llm-app: AI Pipelines Made Easy
Get ready-to-run cloud templates for AI pipelines and enterprise search. For startup founders in need of machine learning solutions.
support★ 38,562
Langchain-Chatchat: Local LLM App
Get a local knowledge-based LLM app for chatbot development, ideal for startup founders, with 38k+ GitHub stars.
support★ 31,936
AionUi: Customize AI Assistants
Get a free local cowork app for 20+ CLI tools. For startup founders using AI agents like OpenClaw and Codex, with 29k+ GitHub stars.
support★ 20,872
adk-python: Build AI Agents
Get flexibility and control building AI agents with adk-python, a Python toolkit for founders, with 21k+ GitHub stars.