code: def __call__(self, output: torch.Tensor, target: torch.Tensor):
      pred = output.view(-1) > 0
      target = target.view(-1)
      self.data.correct += pred.eq(target).sum().item()
      self.data.samples += len(target)
  
imports: import dataclasses
  import torch
  from labml import tracker
  from .None import Metric
label_desc: Use image node_id 1 for calling the BinaryAccuracy obj's underlying member method code with example usage: obj.__call__(output, target) without return types