using System; using System.Collections.Generic; using System.Text; using Tensorflow.Keras.ArgsDefinition; using Tensorflow.Keras.Engine; using static Tensorflow.Binding; namespace Tensorflow.Keras.Layers { /// /// Leaky version of a Rectified Linear Unit. /// public class Sigmoid : Layer { public Sigmoid(LayerArgs args) : base(args) { } protected override Tensors Call(Tensors inputs, Tensor state = null, bool is_training = false) { return tf.nn.sigmoid(inputs, name: Name); } } }