| @@ -15,20 +15,6 @@ | |||||
| English | [中文](docs/README-CN.md) | English | [中文](docs/README-CN.md) | ||||
| **=========================================================** | |||||
| ### [Voting: Naming Convention Approach of v1.0.0](https://github.com/SciSharp/TensorFlow.NET/issues/1074) | |||||
| Dear all, | |||||
| We would like to urge you to participate in our upcoming vote regarding the naming convention for TensorFlow.NET version 1.0.0 in [#1074](https://github.com/SciSharp/TensorFlow.NET/issues/1074). Your participation in the vote is essential to help us decide on the best approach for improving the naming convention used in previous versions. | |||||
| Thank you, | |||||
| TensorFlow.NET Authors | |||||
| **=========================================================** | |||||
| *master branch and v0.100.x is corresponding to tensorflow v2.10, v0.6x branch is from tensorflow v2.6, v0.15-tensorflow1.15 is from tensorflow1.15. Please add `https://www.myget.org/F/scisharp/api/v3/index.json` to nuget source to use nightly release.* | *master branch and v0.100.x is corresponding to tensorflow v2.10, v0.6x branch is from tensorflow v2.6, v0.15-tensorflow1.15 is from tensorflow1.15. Please add `https://www.myget.org/F/scisharp/api/v3/index.json` to nuget source to use nightly release.* | ||||
| @@ -75,9 +61,12 @@ PM> Install-Package TensorFlow.Keras | |||||
| The second part is the computing support part. Only one of the following packages is needed, depending on your device and system. | The second part is the computing support part. Only one of the following packages is needed, depending on your device and system. | ||||
| ``` | ``` | ||||
| ### CPU version for Windows, Linux and Mac | |||||
| ### CPU version for Windows and Linux | |||||
| PM> Install-Package SciSharp.TensorFlow.Redist | PM> Install-Package SciSharp.TensorFlow.Redist | ||||
| ### CPU version for MacOS | |||||
| PM> Install-Package SciSharp.TensorFlow.Redist-OSX | |||||
| ### GPU version for Windows (CUDA and cuDNN are required) | ### GPU version for Windows (CUDA and cuDNN are required) | ||||
| PM> Install-Package SciSharp.TensorFlow.Redist-Windows-GPU | PM> Install-Package SciSharp.TensorFlow.Redist-Windows-GPU | ||||
| @@ -8,10 +8,10 @@ namespace Tensorflow | |||||
| public partial class c_api | public partial class c_api | ||||
| { | { | ||||
| [DllImport(TensorFlowLibName)] | [DllImport(TensorFlowLibName)] | ||||
| public static extern void TFC_SetAttr(SafeGraphHandle graph, IntPtr op, string attr_name, SafeBufferHandle attr_value_proto, SafeStatusHandle status); | |||||
| public static extern void TF_SetAttr(SafeGraphHandle graph, IntPtr op, string attr_name, SafeBufferHandle attr_value_proto, SafeStatusHandle status); | |||||
| [DllImport(TensorFlowLibName)] | [DllImport(TensorFlowLibName)] | ||||
| public static extern SafeBufferHandle TFC_GetHandleShapeAndType(SafeGraphHandle c_graph, TF_Output output); | |||||
| public static extern SafeBufferHandle TF_GetHandleShapeAndType(SafeGraphHandle c_graph, TF_Output output); | |||||
| [DllImport(TensorFlowLibName)] | [DllImport(TensorFlowLibName)] | ||||
| public static extern void TFC_SetHandleShapeAndType(SafeGraphHandle c_graph, TF_Output output, byte[] data, long proto_len, SafeStatusHandle status); | |||||
| public static extern void TF_SetHandleShapeAndType(SafeGraphHandle c_graph, TF_Output output, byte[] data, long proto_len, SafeStatusHandle status); | |||||
| } | } | ||||
| } | } | ||||
| @@ -437,7 +437,7 @@ namespace Tensorflow | |||||
| internal void _set_attr_with_buf(string attr_name, Buffer attr_buf) | internal void _set_attr_with_buf(string attr_name, Buffer attr_buf) | ||||
| { | { | ||||
| Status status = new(); | Status status = new(); | ||||
| c_api.TFC_SetAttr(graph, _handle, attr_name, attr_buf, status); | |||||
| c_api.TF_SetAttr(graph, _handle, attr_name, attr_buf, status); | |||||
| status.Check(true); | status.Check(true); | ||||
| } | } | ||||
| } | } | ||||
| @@ -51,7 +51,7 @@ namespace Tensorflow.Operations | |||||
| } | } | ||||
| Status status = new(); | Status status = new(); | ||||
| var proto = handle_data.ToByteArray(); | var proto = handle_data.ToByteArray(); | ||||
| c_api.TFC_SetHandleShapeAndType(target_t.graph.c_graph, target_t._as_tf_output(), proto, proto.Length, status); | |||||
| c_api.TF_SetHandleShapeAndType(target_t.graph.c_graph, target_t._as_tf_output(), proto, proto.Length, status); | |||||
| status.Check(true); | status.Check(true); | ||||
| } | } | ||||
| @@ -4,8 +4,8 @@ | |||||
| <TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks> | <TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks> | ||||
| <AssemblyName>Tensorflow.Binding</AssemblyName> | <AssemblyName>Tensorflow.Binding</AssemblyName> | ||||
| <RootNamespace>Tensorflow</RootNamespace> | <RootNamespace>Tensorflow</RootNamespace> | ||||
| <TargetTensorFlow>2.11.0</TargetTensorFlow> | |||||
| <Version>0.110.4</Version> | |||||
| <TargetTensorFlow>2.15.0</TargetTensorFlow> | |||||
| <Version>0.150.0</Version> | |||||
| <LangVersion>10.0</LangVersion> | <LangVersion>10.0</LangVersion> | ||||
| <Nullable>enable</Nullable> | <Nullable>enable</Nullable> | ||||
| <Authors>Haiping Chen, Eli Belash, Yaohui Liu, Meinrad Recheis</Authors> | <Authors>Haiping Chen, Eli Belash, Yaohui Liu, Meinrad Recheis</Authors> | ||||
| @@ -20,8 +20,11 @@ | |||||
| <Description>Google's TensorFlow full binding in .NET Standard. | <Description>Google's TensorFlow full binding in .NET Standard. | ||||
| Building, training and infering deep learning models. | Building, training and infering deep learning models. | ||||
| https://tensorflownet.readthedocs.io</Description> | https://tensorflownet.readthedocs.io</Description> | ||||
| <AssemblyVersion>0.110.3.0</AssemblyVersion> | |||||
| <AssemblyVersion>0.150.0.0</AssemblyVersion> | |||||
| <PackageReleaseNotes> | <PackageReleaseNotes> | ||||
| tf.net 0.150.x and above are based on tensorflow native 2.15.0 | |||||
| * Support BERT model. | |||||
| tf.net 0.110.x and above are based on tensorflow native 2.11.0 | tf.net 0.110.x and above are based on tensorflow native 2.11.0 | ||||
| * Support RNN, LSTM model. | * Support RNN, LSTM model. | ||||
| * Support Transformer model. | * Support Transformer model. | ||||
| @@ -43,8 +46,9 @@ https://tensorflownet.readthedocs.io</Description> | |||||
| tf.net 0.7x.x aligns with TensorFlow v2.7.x native library. | tf.net 0.7x.x aligns with TensorFlow v2.7.x native library. | ||||
| tf.net 0.10x.x aligns with TensorFlow v2.10.x native library. | tf.net 0.10x.x aligns with TensorFlow v2.10.x native library. | ||||
| tf.net 0.11x.x aligns with TensorFlow v2.11.x native library. | tf.net 0.11x.x aligns with TensorFlow v2.11.x native library. | ||||
| tf.net 0.15x.x aligns with TensorFlow v2.15.x native library. | |||||
| </PackageReleaseNotes> | </PackageReleaseNotes> | ||||
| <FileVersion>0.110.4.0</FileVersion> | |||||
| <FileVersion>0.150.0.0</FileVersion> | |||||
| <PackageLicenseFile>LICENSE</PackageLicenseFile> | <PackageLicenseFile>LICENSE</PackageLicenseFile> | ||||
| <PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> | <PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> | ||||
| <PackageOutputPath>packages</PackageOutputPath> | <PackageOutputPath>packages</PackageOutputPath> | ||||
| @@ -176,7 +180,7 @@ https://tensorflownet.readthedocs.io</Description> | |||||
| <PackageReference Include="MethodBoundaryAspect.Fody" Version="2.0.149" /> | <PackageReference Include="MethodBoundaryAspect.Fody" Version="2.0.149" /> | ||||
| <PackageReference Include="Newtonsoft.Json" Version="13.0.3" /> | <PackageReference Include="Newtonsoft.Json" Version="13.0.3" /> | ||||
| <PackageReference Include="OneOf" Version="3.0.263" /> | <PackageReference Include="OneOf" Version="3.0.263" /> | ||||
| <PackageReference Include="Protobuf.Text" Version="0.7.1" /> | |||||
| <PackageReference Include="Protobuf.Text" Version="0.7.2" /> | |||||
| <PackageReference Include="Razorvine.Pickle" Version="1.4.0" /> | <PackageReference Include="Razorvine.Pickle" Version="1.4.0" /> | ||||
| <PackageReference Include="Serilog.Sinks.Console" Version="4.1.0" /> | <PackageReference Include="Serilog.Sinks.Console" Version="4.1.0" /> | ||||
| </ItemGroup> | </ItemGroup> | ||||
| @@ -590,7 +590,7 @@ namespace Tensorflow | |||||
| public static HandleData get_resource_handle_data(Tensor graph_op) | public static HandleData get_resource_handle_data(Tensor graph_op) | ||||
| { | { | ||||
| var handle_data = c_api.TFC_GetHandleShapeAndType(graph_op.graph.c_graph, graph_op._as_tf_output()); | |||||
| var handle_data = c_api.TF_GetHandleShapeAndType(graph_op.graph.c_graph, graph_op._as_tf_output()); | |||||
| try{ | try{ | ||||
| var handle_str = c_api.ByteStringPiece(handle_data.DangerousGetHandle() == IntPtr.Zero ? null : new Buffer(handle_data)); | var handle_str = c_api.ByteStringPiece(handle_data.DangerousGetHandle() == IntPtr.Zero ? null : new Buffer(handle_data)); | ||||
| return HandleData.Parser.ParseFrom(handle_str); | return HandleData.Parser.ParseFrom(handle_str); | ||||
| @@ -7,7 +7,7 @@ | |||||
| <Nullable>enable</Nullable> | <Nullable>enable</Nullable> | ||||
| <RootNamespace>Tensorflow.Keras</RootNamespace> | <RootNamespace>Tensorflow.Keras</RootNamespace> | ||||
| <Platforms>AnyCPU;x64</Platforms> | <Platforms>AnyCPU;x64</Platforms> | ||||
| <Version>0.11.4</Version> | |||||
| <Version>0.15.0</Version> | |||||
| <Authors>Haiping Chen</Authors> | <Authors>Haiping Chen</Authors> | ||||
| <Product>Keras for .NET</Product> | <Product>Keras for .NET</Product> | ||||
| <Copyright>Apache 2.0, Haiping Chen since 2018</Copyright> | <Copyright>Apache 2.0, Haiping Chen since 2018</Copyright> | ||||
| @@ -30,6 +30,7 @@ | |||||
| * Fixed memory leak for YOLOv3 model. | * Fixed memory leak for YOLOv3 model. | ||||
| * Support RNN and LSTM models | * Support RNN and LSTM models | ||||
| * Support Transformer model | * Support Transformer model | ||||
| * Support BERT model | |||||
| </PackageReleaseNotes> | </PackageReleaseNotes> | ||||
| <Description>Keras for .NET | <Description>Keras for .NET | ||||
| @@ -42,8 +43,8 @@ Keras is an API designed for human beings, not machines. Keras follows best prac | |||||
| <RepositoryType>Git</RepositoryType> | <RepositoryType>Git</RepositoryType> | ||||
| <SignAssembly>False</SignAssembly> | <SignAssembly>False</SignAssembly> | ||||
| <AssemblyOriginatorKeyFile>Open.snk</AssemblyOriginatorKeyFile> | <AssemblyOriginatorKeyFile>Open.snk</AssemblyOriginatorKeyFile> | ||||
| <AssemblyVersion>0.11.4.0</AssemblyVersion> | |||||
| <FileVersion>0.11.4.0</FileVersion> | |||||
| <AssemblyVersion>0.15.0.0</AssemblyVersion> | |||||
| <FileVersion>0.15.0.0</FileVersion> | |||||
| <PackageLicenseFile>LICENSE</PackageLicenseFile> | <PackageLicenseFile>LICENSE</PackageLicenseFile> | ||||
| <Configurations>Debug;Release;GPU</Configurations> | <Configurations>Debug;Release;GPU</Configurations> | ||||
| </PropertyGroup> | </PropertyGroup> | ||||
| @@ -143,7 +144,7 @@ Keras is an API designed for human beings, not machines. Keras follows best prac | |||||
| </PropertyGroup> | </PropertyGroup> | ||||
| <ItemGroup> | <ItemGroup> | ||||
| <PackageReference Include="HDF5-CSharp" Version="1.18.0" /> | |||||
| <PackageReference Include="HDF5-CSharp" Version="1.19.0" /> | |||||
| <PackageReference Include="MethodBoundaryAspect.Fody" Version="2.0.149" /> | <PackageReference Include="MethodBoundaryAspect.Fody" Version="2.0.149" /> | ||||
| <PackageReference Include="SharpZipLib" Version="1.4.2" /> | <PackageReference Include="SharpZipLib" Version="1.4.2" /> | ||||
| </ItemGroup> | </ItemGroup> | ||||
| @@ -26,7 +26,7 @@ | |||||
| </PropertyGroup> | </PropertyGroup> | ||||
| <ItemGroup> | <ItemGroup> | ||||
| <PackageReference Include="SharpCompress" Version="0.33.0" /> | |||||
| <PackageReference Include="SharpCompress" Version="0.34.1" /> | |||||
| </ItemGroup> | </ItemGroup> | ||||
| <ItemGroup> | <ItemGroup> | ||||
| @@ -19,13 +19,10 @@ | |||||
| <PlatformTarget>AnyCPU</PlatformTarget> | <PlatformTarget>AnyCPU</PlatformTarget> | ||||
| </PropertyGroup> | </PropertyGroup> | ||||
| <ItemGroup> | |||||
| <PackageReference Include="SciSharp.TensorFlow.Redist" Version="2.11.4" /> | |||||
| </ItemGroup> | |||||
| <ItemGroup> | <ItemGroup> | ||||
| <ProjectReference Include="..\..\src\TensorFlowNET.Recommenders\Tensorflow.Recommenders.csproj" /> | <ProjectReference Include="..\..\src\TensorFlowNET.Recommenders\Tensorflow.Recommenders.csproj" /> | ||||
| <ProjectReference Include="..\..\src\TensorFlowNET.Text\Tensorflow.Text.csproj" /> | <ProjectReference Include="..\..\src\TensorFlowNET.Text\Tensorflow.Text.csproj" /> | ||||
| <ProjectReference Include="..\Tensorflow.UnitTest.RedistHolder\Tensorflow.UnitTest.RedistHolder.csproj" /> | |||||
| </ItemGroup> | </ItemGroup> | ||||
| </Project> | </Project> | ||||
| @@ -9,7 +9,6 @@ | |||||
| <ItemGroup> | <ItemGroup> | ||||
| <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.6.0-1.final" /> | <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.6.0-1.final" /> | ||||
| <PackageReference Include="Protobuf.Text" Version="0.7.1" /> | |||||
| </ItemGroup> | </ItemGroup> | ||||
| <ItemGroup> | <ItemGroup> | ||||
| @@ -5,7 +5,7 @@ | |||||
| </PropertyGroup> | </PropertyGroup> | ||||
| <ItemGroup> | <ItemGroup> | ||||
| <PackageReference Include="SciSharp.TensorFlow.Redist" Version="2.11.4" /> | |||||
| <PackageReference Include="SciSharp.TensorFlow.Redist" Version="2.16.0" /> | |||||
| <PackageReference Include="SciSharp.TensorFlow.Redist-Lite" Version="2.6.0" /> | <PackageReference Include="SciSharp.TensorFlow.Redist-Lite" Version="2.6.0" /> | ||||
| </ItemGroup> | </ItemGroup> | ||||