def sigmoid(x): """Sigmoid function. Parameters ---------- inputs : Tensor The input tensor. Returns ------- Tensor The output tensor. """ return ops.Sigmoid(x)
def sigmoid(x, name=None): """ Computes sigmoid of `x` element-wise. Specifically, `y = 1 / (1 + exp(-x))`. Args: x: A Tensor. name: A name for the operation (optional). Returns: A Tensor with the same type. """ return ops.Sigmoid(x, name=name)
def sigmoid(x, name=None): return ops.Sigmoid(x, name=name)
def Setup(self, bottom): super(SigmoidLayer, self).Setup(bottom) input = bottom[0] if isinstance(bottom, list) else bottom return ops.Sigmoid(input, **self._param)
def sigmoid(x, **kwargs): return ops.Sigmoid(x, **kwargs)
def LayerSetup(self, bottom): return _ops.Sigmoid(bottom, **self.arguments)