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.

EagerModeTestBase.cs 490 B

1234567891011121314151617181920212223
  1. using Microsoft.VisualStudio.TestTools.UnitTesting;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. using static Tensorflow.Binding;
  6. namespace TensorFlowNET.UnitTest
  7. {
  8. public class EagerModeTestBase : PythonTest
  9. {
  10. [TestInitialize]
  11. public void TestInit()
  12. {
  13. if (!tf.executing_eagerly())
  14. tf.enable_eager_execution();
  15. }
  16. [TestCleanup]
  17. public void TestClean()
  18. {
  19. }
  20. }
  21. }