using System; using System.Collections.Generic; using System.Text; namespace Tensorflow.Graphs { public class GraphDeviceContext : ITensorFlowObject { private Graph _graph; public GraphDeviceContext(Graph graph, string device_name) { _graph = graph; } public void __enter__() { } public void __exit__() { } public void Dispose() { } } }
tensorflow框架的.NET版本,提供了丰富的特性和API,可以借此很方便地在.NET平台下搭建深度学习训练与推理流程。