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.

GraphModeTestBase.cs 430 B

1234567891011121314151617181920
  1. using Microsoft.VisualStudio.TestTools.UnitTesting;
  2. using static Tensorflow.Binding;
  3. namespace TensorFlowNET.UnitTest
  4. {
  5. public class GraphModeTestBase : PythonTest
  6. {
  7. [TestInitialize]
  8. public void TestInit()
  9. {
  10. tf.compat.v1.disable_eager_execution();
  11. }
  12. [TestCleanup]
  13. public void TestClean()
  14. {
  15. tf.enable_eager_execution();
  16. }
  17. }
  18. }