code: def __call__(self, y_true, y_pred):
      type_true, y_true, y_pred = _check_targets(y_true, y_pred)
      self._type_true = type_true
      inputs = [y_true, y_pred, type_true]
      if isinstance(self._sample_weight, ENTITY_TYPE):
          inputs.append(self._sample_weight)
  
      dtype = (
          np.dtype(float)
          if self._normalize
          else np.result_type(y_true, y_pred)
      )
      return self.new_tileable(
          inputs, dtype=dtype, shape=(), order=TensorOrder.C_ORDER
      )
  
imports: import warnings
  import numpy
  from sklearn.exceptions import UndefinedMetricWarning
  from ...None import execute, fetch
  from ...None import opcodes
  from ...None import tensor
  from ...core import ENTITY_TYPE, recursive_tile
  from ...core.context import get_context
  from ...serialization.serializables import AnyField, BoolField, KeyField
  from ...tensor.core import TensorOrder
  from ..operands import LearnOperand, LearnOperandMixin, OutputType
  from ..preprocessing import LabelBinarizer, LabelEncoder
  from ..utils import check_array, check_consistent_length, column_or_1d
  from ..utils.multiclass import unique_labels
  from ..utils.sparsefuncs import count_nonzero
  from ._check_targets import _check_targets
label_desc: Use image node_id 8 for calling the AccuracyScore obj's underlying member method code with example usage: obj.__call__(y_true, y_pred) and returns: self