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

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