code: def split(self, X, y=None, groups=None):
      indices = ivy.arange(X.shape[0])
      for test_index in self._iter_test_masks(X, y, groups):
          train_index = indices[ivy.logical_not(test_index)]
          test_index = indices[test_index]
          yield train_index, test_index
  
file_path: ivy/ivy/functional/frontends/sklearn/model_selection/_split.py
imports: from abc import ABCMeta, abstractmethod
  import ivy
  from ivy.functional.frontends.numpy.func_wrapper import to_ivy_arrays_and_back
  from ivy.functional.frontends.sklearn.utils.validation import column_or_1d
label_desc: Use image node_id 1 for calling the BaseCrossValidator obj's underlying member method code with example usage: obj.split(X, y, groups) without return types