code: def ndim(self):
      return self.ivy_array.ndim
  
file_path: ivy/ivy/functional/frontends/onnx/tensor.py
imports: import ivy
label_desc: Use image node_id 8 for calling the Tensor obj's underlying member method code with example usage: obj.ndim() and returns: self