code: def _resize(self, capacity):
      self._resize_c(capacity)
  
file_path: ivy/ivy/functional/frontends/sklearn/tree/_tree.py
imports: import ivy
  from ._splitter import SplitRecord
label_desc: Use image node_id 2 for calling the Tree obj's underlying member method code with example usage: obj._resize(capacity) without return types