Browse Source

add tf.nn.tanh activation function.

tags/v0.13
Oceania2018 5 years ago
parent
commit
f15a608e6c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/TensorFlowNET.Core/APIs/tf.nn.cs

+ 1
- 0
src/TensorFlowNET.Core/APIs/tf.nn.cs View File

@@ -112,6 +112,7 @@ namespace Tensorflow

public IActivation relu() => new relu();
public IActivation swish() => new swish();
public IActivation tanh() => new tanh();

public Tensor relu(Tensor features, string name = null) => gen_nn_ops.relu(features, name);



Loading…
Cancel
Save