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.

EagerTensorV2Test.cs 470 B

12345678910111213141516171819202122
  1. using Microsoft.VisualStudio.TestTools.UnitTesting;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. using Tensorflow;
  6. namespace TensorFlowNET.UnitTest.Binding
  7. {
  8. [TestClass]
  9. public class EagerTensorV2Test
  10. {
  11. [TestMethod]
  12. public void Creation()
  13. {
  14. var tensor = new EagerTensorV2(new float[,]
  15. {
  16. { 3.0f, 1.0f },
  17. { 1.0f, 2.0f }
  18. });
  19. }
  20. }
  21. }