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

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