code: def __iter__(self):
      for index in range(len(self)):
          yield self[index]
  
imports: import tensorly
  from .tenalg import _tt_matrix_to_tensor
  from ._factorized_tensor import FactorizedTensor
  import numpy
label_desc: Use image node_id 4 for calling the TTMatrix obj's underlying member method code with example usage: obj.__iter__() without return types