code: def BCEFlat(*args, axis:int=-1, floatify:bool=True, **kwargs):
      "Same as `nn.BCELoss`, but flattens input and target."
      return FlattenedLoss(nn.BCELoss, *args, axis=axis, floatify=floatify, is_2d=False, **kwargsf BCEFlat(*args, axis:int=-1, floatify:bool=True, **kwargs):
      "Same as `nn.BCELoss`, but flattens input and target."
      return FlattenedLoss(nn.BCELoss, *args, axis=axis, floatify=floatify, is_2d=False, **kwargs)
docs: Same as `nn.BCELoss`, but flattens input and target.