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.

IExample.cs 799 B

6 years ago
6 years ago
6 years ago
12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace TensorFlowNET.Examples
  5. {
  6. /// <summary>
  7. /// Interface of Example project
  8. /// All example should implement IExample so the entry program will find it.
  9. /// </summary>
  10. public interface IExample
  11. {
  12. /// <summary>
  13. /// running order
  14. /// </summary>
  15. int Priority { get; }
  16. /// <summary>
  17. /// True to run example
  18. /// </summary>
  19. bool Enabled { get; set; }
  20. string Name { get; }
  21. /// <summary>
  22. /// Build dataflow graph, train and predict
  23. /// </summary>
  24. /// <returns></returns>
  25. bool Run();
  26. /// <summary>
  27. /// Prepare dataset
  28. /// </summary>
  29. void PrepareData();
  30. }
  31. }

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