code: def rank(self):
      raise ValueError(
          "rank not applicable to ListVar '{}'".format(self.name)
      )
  
imports: from typing import Optional, Union
  from coremltools.converters.mil.mil import types
  from coremltools.converters.mil.mil.types import builtin_to_string
  from coremltools.converters.mil.mil.types.symbolic import any_symbolic
label_desc: Use image node_id 3 for calling the ListVar obj's underlying member method code with example usage: obj.rank() without return types