Browse Source

v0.12 released

tags/v0.12
Oceania2018 6 years ago
parent
commit
3090e45837
3 changed files with 12 additions and 9 deletions
  1. +7
    -0
      README.md
  2. +3
    -8
      src/TensorFlowNET.Core/Gradients/gradients_util.cs
  3. +2
    -1
      src/TensorFlowNET.Core/TensorFlowNET.Core.csproj

+ 7
- 0
README.md View File

@@ -26,6 +26,13 @@ In comparison to other projects, like for instance TensorFlowSharp which only pr

### How to use

| TensorFlow | tf 1.13 | tf 1.14 | tf 1.15 | tf 2.0 |
| ----------- | ------- | ------- | ------- | ------ |
| tf.net 0.12 | | x | | |
| tf.net 0.11 | x | x | | |
| tf.net 0.10 | x | x | | |
| tf.net 0.9 | x | | | |

Install TF.NET and TensorFlow binary through NuGet.
```sh
### install tensorflow C# binding


+ 3
- 8
src/TensorFlowNET.Core/Gradients/gradients_util.cs View File

@@ -362,16 +362,11 @@ namespace Tensorflow
grads[op.name] = op_grads;
}
var t_grads = op_grads[t.value_index];
if (t_grads.Count == 0)
t_grads.Add(grad);
else
if (t_grads.Count > 0 &&
control_flow_util.IsLoopSwitch(op))
op_grads[t.value_index][0] = grad;

/*if (control_flow_util.IsLoopSwitch(op) &&
t_grads[0] == null)
op_grads[t.value_index] = new List<Tensor> { grad };
else
t_grads.Add(grad);*/
t_grads.Add(grad);
}

private static IEnumerable<Tensor> _NonEagerInputs(Operation op, Tensor[] xs)


+ 2
- 1
src/TensorFlowNET.Core/TensorFlowNET.Core.csproj View File

@@ -21,7 +21,8 @@ https://tensorflownet.readthedocs.io</Description>
<AssemblyVersion>0.12.0.0</AssemblyVersion>
<PackageReleaseNotes>Changes since v0.11.0:
1: Add ICanBeFlattened for nest.flatten2.
2:</PackageReleaseNotes>
2: Complete the WhileContext.
3: Add tf.nn.rnn_cell.BasicRNNCell and tf.nn.dynamic_rnn.</PackageReleaseNotes>
<LangVersion>7.3</LangVersion>
<FileVersion>0.12.0.0</FileVersion>
<PackageLicenseFile>LICENSE</PackageLicenseFile>


Loading…
Cancel
Save