class_docstr: Pointwise multiplies by sigmoid(S) with a learnable vector S.
class_docstr_tok: ["Pointwise","multiplies","by","sigmoid","(","S",")","with","a","learnable","vector","S","."]
code: def forward(self, x):
      s = self.weights
      return jnp.multiply(x, fastmath.expit(s))
  
imports: import numpy
  from trax import fastmath
  from trax import layers
  from trax.fastmath import numpy
  from trax.layers.assert_shape import assert_shape
label_desc: Use image node_id 2 for calling the _ClippedScaling obj's underlying member method code with example usage: obj.forward(x) and returns: jnp