code: def apply(self, X):
      return self._apply_dense(X)
  
file_path: ivy/ivy/functional/frontends/sklearn/tree/_tree.py
imports: import ivy
  from ._splitter import SplitRecord
label_desc: Use image node_id 6 for calling the Tree obj's underlying member method code with example usage: obj.apply(X) and returns: self