class_docstr: Return ``sigmoid(x)`` elementwise.
  
  Parameters
  ----------
  x: tensor<\*?, T> (Required)
  
  Returns
  -------
  tensor<\*?, T>
      * A tensor of the same shape as ``x``.
  
  Attributes
  ----------
  T: fp16, fp32
class_docstr_tok: ["Return","``","sigmoid","(","x",")","``","elementwise",".","Parameters","--","--","--","--","--","x",":","tensor","<","\\","*","?",",","T",">","(","Required",")","Returns","--","--","--","-","tensor","<","\\","*","?",",","T",">","*","A","tensor","of","the","same","shape","as","``","x","``",".","Attributes","--","--","--","--","--","T",":","fp16",",","fp32"]
code: def value_inference(self):
      return 1 / (1 + np.exp(-self.x.val))
  
imports: import math
  import numpy
  from coremltools.converters.mil.mil import types
  from coremltools.converters.mil.mil.input_type import DefaultInputs, InputSpec, TensorInputType
  from coremltools.converters.mil.mil.operation import VALUE, Operation, precondition
  from coremltools.converters.mil.mil.ops.defs._op_reqs import register_op
  from .elementwise_unary import elementwise_unary
label_desc: Use image node_id 1 for calling the sigmoid obj's underlying member method code with example usage: obj.value_inference() and returns: unknown