using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Text; using tf = TensorFlowNET.Core.Tensorflow; namespace TensorFlowNET.UnitTest { [TestClass] public class OperationsTest { [TestMethod] public void constant() { tf.constant(4.0); } } }
tensorflow框架的.NET版本,提供了丰富的特性和API,可以借此很方便地在.NET平台下搭建深度学习训练与推理流程。