class_docstr: Sigmoid activation followed by a sigmoid cross entropy loss.
class_docstr_tok: ["Sigmoid","activation","followed","by","a","sigmoid","cross","entropy","loss","."]
code: def __init__(self, normalize=True, reduce="mean"):
      self.normalize = normalize
      if reduce not in ("mean", "no"):
          raise ValueError(
              "only 'mean' and 'no' are valid for 'reduce', but "
              "'%s' is given" % reduce
          )
      self.reduce = reduce
      self.count = None
  
file_path: chainer/chainer/functions/loss/sigmoid_cross_entropy.py
imports: import chainer
  from chainer import backend
  from chainer import function_node
  from chainer.functions.activation import sigmoid
  from chainer import utils
  from chainer.utils import type_check
label_desc: Use image node_id 1 to create a new SigmoidCrossEntropy object from inherited base classes: function_node with example: obj = SigmoidCrossEntropy(normalize, reduce)