class_docstr: The :class:`SignLayer` class is for quantizing the layer outputs to -1 or 1 while inferencing.
  
  Parameters
  ----------
  name : a str
      A unique layer name.
class_docstr_tok: ["The",":","class",":","`","SignLayer","`","class","is","for","quantizing","the","layer","outputs","to","-1","or","1","while","inferencing",".","Parameters","--","--","--","--","--","name",":","a","str","A","unique","layer","name","."]
code: def forward(self, inputs):
      # with tf.variable_scope(name):
      ## self.outputs = tl.act.sign(self.inputs)
      # self.outputs = quantize(self.inputs)
      outputs = quantize(inputs)
      return outputs
  
file_path: TensorLayer/tensorlayer/layers/quantize.py
imports: import tensorflow
  from tensorlayer import logging
  from tensorlayer.decorators import deprecated_alias
  from tensorlayer.layers.core import Layer
  from tensorlayer.layers.utils import quantize
label_desc: Use image node_id 4 for calling the Sign obj's underlying member method code with example usage: obj.forward(inputs) and returns: outputs