code: def __init__(self, rank, n_iter, trajectory, return_errors):
      self.rank = rank
      self.n_iter = n_iter
      self.trajectory = trajectory
      self.return_errors = return_errors
  
file_path: tensorly/tensorly/contrib/decomposition/tt_TTOI.py
imports: import numpy
  import tensorly
  from tensorly.tt_tensor import tt_to_tensor, validate_tt_rank
  from tensorly.decomposition._base_decomposition import DecompositionMixin
label_desc: Use image node_id 1 to create a new TensorTrain_OI object from inherited base classes: DecompositionMixin with example: obj = TensorTrain_OI(rank, n_iter, trajectory, return_errors)