Example #1
0
        public static void Main(string [] args)
        {
            Console.WriteLine(Environment.CurrentDirectory);
            Console.WriteLine("TensorFlow version: " + TFCore.Version);

            //var b = TFCore.GetAllOpList ();


            var t = new MainClass();

            t.LinearRegression();
            t.TestParametersWithIndexes();
            t.AddControlInput();
            t.TestImportGraphDef();
            t.TestSession();
            t.TestOperationOutputListSize();
            t.TestVariable();

            // Current failing test
            t.TestOutputShape();
            //t.AttributesTest ();
            t.GetAttributesTest();
            t.WhileTest();

            //var n = new Mnist ();
            //n.ReadDataSets ("/Users/miguel/Downloads", numClasses: 10);

            t.BasicConstantOps();
            t.BasicVariables();
            t.BasicMultidimensionalArray();
            t.BasicMatrix();

            t.NearestNeighbor();
        }
Example #2
0
        public static void Main(string [] args)
        {
            Console.WriteLine(Environment.CurrentDirectory);
            Console.WriteLine("TensorFlow version: " + TFCore.Version);

            var b = TFCore.GetAllOpList();


            var t = new MainClass();

            t.TestImportGraphDef();
            t.TestSession();
            t.TestOperationOutputListSize();

            // Current failing test
            t.TestOutputShape();
            //t.AttributesTest ();


            //var n = new Mnist ();
            //n.ReadDataSets ("/Users/miguel/Downloads", numClasses: numClasses);
        }