| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d46892b commit 1a5a7f8
5 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -106,8 +106,6 @@ public partial class Graph : IPython, IDisposable | |||
| 106 | 106 | ||
| 107 | 107 | public Graph() | |
| 108 | 108 | { | |
| 109 | - c_api_util.DownloadLibrary(); | ||
| 110 | - | ||
| 111 | 109 | _handle = c_api.TF_NewGraph(); | |
| 112 | 110 | Status = new Status(); | |
| 113 | 111 | _nodes_by_id = new Dictionary<int, ITensorOrOperation>(); | |
@@ -118,8 +116,6 @@ public Graph() | |||
| 118 | 116 | ||
| 119 | 117 | public Graph(IntPtr handle) | |
| 120 | 118 | { | |
| 121 | - c_api_util.DownloadLibrary(); | ||
| 122 | - | ||
| 123 | 119 | _handle = handle; | |
| 124 | 120 | Status = new Status(); | |
| 125 | 121 | _nodes_by_id = new Dictionary<int, ITensorOrOperation>(); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -40,7 +40,6 @@ public class Status : IDisposable | |||
| 40 | 40 | ||
| 41 | 41 | public Status() | |
| 42 | 42 | { | |
| 43 | - c_api_util.DownloadLibrary(); | ||
| 44 | 43 | _handle = c_api.TF_NewStatus(); | |
| 45 | 44 | } | |
| 46 | 45 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -58,8 +58,9 @@ Learn more about .NET AI: https://medium.com/scisharp</Description> | |||
| 58 | 58 | </ItemGroup> | |
| 59 | 59 | ||
| 60 | 60 | <ItemGroup> | |
| 61 | - <PackageReference Include="Google.Protobuf" Version="3.8.0" /> | ||
| 61 | + <PackageReference Include="Google.Protobuf" Version="3.9.0" /> | ||
| 62 | 62 | <PackageReference Include="NumSharp" Version="0.10.3" /> | |
| 63 | + <PackageReference Include="SciSharp.TensorFlow.Redist" Version="1.14.0" /> | ||
| 63 | 64 | </ItemGroup> | |
| 64 | 65 | ||
| 65 | 66 | <ItemGroup> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -62,14 +62,7 @@ public static void enable_eager_execution() | |||
| 62 | 62 | context.default_execution_mode = Context.EAGER_MODE; | |
| 63 | 63 | } | |
| 64 | 64 | ||
| 65 | - public static string VERSION | ||
| 66 | - { | ||
| 67 | - get | ||
| 68 | - { | ||
| 69 | - c_api_util.DownloadLibrary(); | ||
| 70 | - return c_api.StringPiece(c_api.TF_Version()); | ||
| 71 | - } | ||
| 72 | - } | ||
| 65 | + public static string VERSION => c_api.StringPiece(c_api.TF_Version()); | ||
| 73 | 66 | ||
| 74 | 67 | public static Session Session() | |
| 75 | 68 | { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -22,11 +22,4 @@ | |||
| 22 | 22 | <ItemGroup> | |
| 23 | 23 | <ProjectReference Include="..\..\src\TensorFlowNET.Core\TensorFlowNET.Core.csproj" /> | |
| 24 | 24 | </ItemGroup> | |
| 25 | - | ||
| 26 | - <ItemGroup> | ||
| 27 | - <Reference Include="NumSharp.Core"> | ||
| 28 | - <HintPath>..\..\..\..\NumSharp\src\NumSharp.Core\bin\Debug\netstandard2.0\NumSharp.Core.dll</HintPath> | ||
| 29 | - </Reference> | ||
| 30 | - </ItemGroup> | ||
| 31 | - | ||
| 32 | 25 | </Project> | |
| Back | FazBrowse Home | New Git URL |
0 commit comments