code: def __call__(self, decomp, rec_error):
      self.error.append(rec_error)
  
file_path: tensorly/tensorly/decomposition/tests/test_tr_decomposition.py
imports: import pytest
  import tensorly
  import numpy
  from .._tr import tensor_ring, tensor_ring_als, TensorRingALS
  from ...random import random_tr
  from ...testing import assert_, assert_array_almost_equal, assert_raises, assert_class_wrapper_correctly_passes_arguments
label_desc: Use image node_id 2 for calling the ErrorTracker obj's underlying member method code with example usage: obj.__call__(decomp, rec_error) without return types