code: def ndim(self):
      return len(self.shape)
  
imports: import functools
  import torch
  from fate.arch.trace import auto_trace
label_desc: Use image node_id 13 for calling the PHETensor obj's underlying member method code with example usage: obj.ndim() and returns: len