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.

GraphDeviceContext.cs 476 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace Tensorflow.Graphs
  5. {
  6. public class GraphDeviceContext : ITensorFlowObject
  7. {
  8. private Graph _graph;
  9. public GraphDeviceContext(Graph graph, string device_name)
  10. {
  11. _graph = graph;
  12. }
  13. public void __enter__()
  14. {
  15. }
  16. public void __exit__()
  17. {
  18. }
  19. public void Dispose()
  20. {
  21. }
  22. }
  23. }