From b59122f511077e7af6476ea774a6a254dfe9384b Mon Sep 17 00:00:00 2001 From: Oceania2018 Date: Sat, 10 Oct 2020 08:45:58 -0500 Subject: [PATCH] Disable AutoGraphAttribute. --- src/TensorFlowNET.Core/Graphs/AutoGraphAttribute.cs | 4 ++-- src/TensorFlowNET.Core/Tensorflow.Binding.csproj | 1 - test/TensorFlowNET.UnitTest/ManagedAPI/FunctionApiTest.cs | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/TensorFlowNET.Core/Graphs/AutoGraphAttribute.cs b/src/TensorFlowNET.Core/Graphs/AutoGraphAttribute.cs index 5a0c353c..b68d906c 100644 --- a/src/TensorFlowNET.Core/Graphs/AutoGraphAttribute.cs +++ b/src/TensorFlowNET.Core/Graphs/AutoGraphAttribute.cs @@ -1,4 +1,4 @@ -using MethodBoundaryAspect.Fody.Attributes; +/*using MethodBoundaryAspect.Fody.Attributes; using System; using System.Collections.Generic; using System.Linq; @@ -77,4 +77,4 @@ namespace Tensorflow.Graphs args.ReturnValue = function(originalInputs); } } -} +}*/ diff --git a/src/TensorFlowNET.Core/Tensorflow.Binding.csproj b/src/TensorFlowNET.Core/Tensorflow.Binding.csproj index daed825c..015edfb2 100644 --- a/src/TensorFlowNET.Core/Tensorflow.Binding.csproj +++ b/src/TensorFlowNET.Core/Tensorflow.Binding.csproj @@ -77,7 +77,6 @@ https://tensorflownet.readthedocs.io - diff --git a/test/TensorFlowNET.UnitTest/ManagedAPI/FunctionApiTest.cs b/test/TensorFlowNET.UnitTest/ManagedAPI/FunctionApiTest.cs index 109bafb2..adc8f48f 100644 --- a/test/TensorFlowNET.UnitTest/ManagedAPI/FunctionApiTest.cs +++ b/test/TensorFlowNET.UnitTest/ManagedAPI/FunctionApiTest.cs @@ -40,7 +40,7 @@ namespace TensorFlowNET.UnitTest.ManagedAPI /// /// /// - [AutoGraph] + // [AutoGraph] Tensor Mul(Tensor a, Tensor b) { return a * b;