Skip to content

Commit b59122f

Browse files
committed
Disable AutoGraphAttribute.
1 parent f8b61b1 commit b59122f

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/TensorFlowNET.Core/Graphs/AutoGraphAttribute.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using MethodBoundaryAspect.Fody.Attributes;
1+
/*using MethodBoundaryAspect.Fody.Attributes;
22
using System;
33
using System.Collections.Generic;
44
using System.Linq;
@@ -77,4 +77,4 @@ public override void OnExit(MethodExecutionArgs args)
7777
args.ReturnValue = function(originalInputs);
7878
}
7979
}
80-
}
80+
}*/

src/TensorFlowNET.Core/Tensorflow.Binding.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ https://tensorflownet.readthedocs.io</Description>
7777

7878
<ItemGroup>
7979
<PackageReference Include="Google.Protobuf" Version="3.11.4" />
80-
<PackageReference Include="MethodBoundaryAspect.Fody" Version="2.0.138" />
8180
<PackageReference Include="NumSharp.Lite" Version="0.1.8" />
8281
<PackageReference Include="Protobuf.Text" Version="0.4.0" />
8382
</ItemGroup>

test/TensorFlowNET.UnitTest/ManagedAPI/FunctionApiTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public void MulInAutoGraph()
4040
/// <param name="a"></param>
4141
/// <param name="b"></param>
4242
/// <returns></returns>
43-
[AutoGraph]
43+
// [AutoGraph]
4444
Tensor Mul(Tensor a, Tensor b)
4545
{
4646
return a * b;

0 commit comments

Comments
 (0)