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 964 B

6 years ago
6 years ago
6 years ago
12345678910111213141516171819202122232425262728293031323334353637383940
  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. /// <summary>
  21. /// Set true to import the computation graph instead of building it.
  22. /// </summary>
  23. bool ImportGraph { get; set; }
  24. string Name { get; }
  25. /// <summary>
  26. /// Build dataflow graph, train and predict
  27. /// </summary>
  28. /// <returns></returns>
  29. bool Run();
  30. /// <summary>
  31. /// Prepare dataset
  32. /// </summary>
  33. void PrepareData();
  34. }
  35. }

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