code: def n_param(self):
      factors_params = self.rank * ivy.sum(self.shape)
      if self.weights:
          return factors_params + self.rank
      else:
          return factors_params
  
imports: from .base import FactorizedTensor
  import ivy
  from copy import deepcopy
label_desc: Use image node_id 10 for calling the Parafac2Tensor obj's underlying member method code with example usage: obj.n_param() and returns: unknown, factors_params