docstr: N-mode product of a CP tensor and a matrix or vector at the
  specified mode.
  
  Parameters
  ----------
  cp_tensor
  
  matrix_or_vector
      1D or 2D array of shape ``(J, i_k)`` or ``(i_k, )``
      matrix or vectors to which to n-mode multiply the tensor
  mode
      int
  
  Returns
  -------
  CPTensor = (core, factors)
      `mode`-mode product of `tensor` by `matrix_or_vector`
      * of shape :math:`(i_1, ..., i_{k-1}, J, i_{k+1}, ..., i_N)`
        if matrix_or_vector is a matrix
      * of shape :math:`(i_1, ..., i_{k-1}, i_{k+1}, ..., i_N)`
        if matrix_or_vector is a vector
  
  See Also
  --------
  cp_mode_dot : chaining several mode_dot in one call
docstr_tok: ["N-mode","product","of","a","CP","tensor","and","a","matrix","or","vector","at","the","specified","mode",".","Parameters","--","--","--","--","--","cp_tensor","matrix_or_vector","1D","or","2D","array","of","shape","``","(","J",",","i_k",")","``","or","``","(","i_k",",",")","``","matrix","or","vectors","to","which","to","n-mode","multiply","the","tensor","mode","int","Returns","--","--","--","-","CPTensor","=","(","core",",","factors",")","`","mode","`","-mode","product","of","`","tensor","`","by","`","matrix_or_vector","`","*","of","shape",":","math",":","`","(","i_1",",","...",",","i_","{","k-1","}",",","J",",","i_","{","k+1","}",",","...",",","i_N",")","`","if","matrix_or_vector","is","a","matrix","*","of","shape",":","math",":","`","(","i_1",",","...",",","i_","{","k-1","}",",","i_","{","k+1","}",",","...",",","i_N",")","`","if","matrix_or_vector","is","a","vector","See","Also","--","--","--","--","cp_mode_dot",":","chaining","several","mode_dot","in","one","call"]
code: def mode_dot(self, matrix_or_vector, mode, keep_dim=False, copy=True):
      """N-mode product of a CP tensor and a matrix or vector at the
      specified mode.
  
      Parameters
      ----------
      cp_tensor
  
      matrix_or_vector
          1D or 2D array of shape ``(J, i_k)`` or ``(i_k, )``
          matrix or vectors to which to n-mode multiply the tensor
      mode
          int
  
      Returns
      -------
      CPTensor = (core, factors)
          `mode`-mode product of `tensor` by `matrix_or_vector`
          * of shape :math:`(i_1, ..., i_{k-1}, J, i_{k+1}, ..., i_N)`
            if matrix_or_vector is a matrix
          * of shape :math:`(i_1, ..., i_{k-1}, i_{k+1}, ..., i_N)`
            if matrix_or_vector is a vector
  
      See Also
      --------
      cp_mode_dot : chaining several mode_dot in one call
      """
      return ivy.CPTensor.cp_mode_dot(
          self, matrix_or_vector, mode, keep_dim=keep_dim, copy=copy
      )
  
imports: from .base import FactorizedTensor
  import ivy
label_desc: Use image node_id 11 for calling the CPTensor obj's underlying member method code with example usage: obj.mode_dot(matrix_or_vector, mode, keep_dim, copy) and returns: ivy