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.

InitializerTest.cs 517 B

1234567891011121314151617181920
  1. using Microsoft.VisualStudio.TestTools.UnitTesting;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using TensorFlowNET.Keras.UnitTest;
  7. using static Tensorflow.Binding;
  8. namespace TensorFlowNET.Keras.UnitTest;
  9. [TestClass]
  10. public class InitializerTest : EagerModeTestBase
  11. {
  12. [TestMethod]
  13. public void Orthogonal()
  14. {
  15. var initializer = tf.keras.initializers.Orthogonal();
  16. var values = initializer.Apply(new Tensorflow.InitializerArgs((2, 2)));
  17. }
  18. }