You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

CApiTest.cs 564 B

12345678910111213141516171819202122232425
  1. using Microsoft.VisualStudio.TestTools.UnitTesting;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace TensorFlowNET.UnitTest
  6. {
  7. public class CApiTest
  8. {
  9. public void EXPECT_EQ(object expected, object actual)
  10. {
  11. Assert.AreEqual(expected, actual);
  12. }
  13. public void ASSERT_EQ(object expected, object actual)
  14. {
  15. Assert.AreEqual(expected, actual);
  16. }
  17. public void ASSERT_TRUE(bool condition)
  18. {
  19. Assert.IsTrue(condition);
  20. }
  21. }
  22. }

tensorflow框架的.NET版本,提供了丰富的特性和API,可以借此很方便地在.NET平台下搭建深度学习训练与推理流程。

Contributors (1)