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.

BiLstmCrfNer.cs 520 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using Tensorflow;
  5. namespace TensorFlowNET.Examples
  6. {
  7. public class BiLstmCrfNer : Python, IExample
  8. {
  9. public int Priority => 13;
  10. public bool Enabled { get; set; } = true;
  11. public bool ImportGraph { get; set; } = false;
  12. public string Name => "bi-LSTM + CRF NER";
  13. public void PrepareData()
  14. {
  15. }
  16. public bool Run()
  17. {
  18. return true;
  19. }
  20. }
  21. }

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