class_docstr: Decorator for Base class to allow for dynamic and static _get_tags.
  In general, most methods are either dynamic or static, so this decorator
  is only meant to be used in the Base estimator _get_tags.
docstr: Factory to create a _tags_class_and_instance instance method with
  the existing class associated.
docstr_tok: ["Factory","to","create","a","_tags_class_and_instance","instance","method","with","the","existing","class","associated","."]
code: def instance_method(self, _instance):
      """
      Factory to create a _tags_class_and_instance instance method with
      the existing class associated.
      """
      return _tags_class_and_instance(self._class, _instance)
  
file_path: cuml/python/cuml/internals/base_helpers.py
imports: from inspect import Parameter, signature
  import typing
  from cuml.internals.api_decorators import api_base_return_generic, api_base_return_array, api_base_return_sparse_array, api_base_return_any, api_return_any, _deprecate_pos_args
  from cuml.internals.array import CumlArray
  from cuml.internals.array_sparse import SparseCumlArray
  from cuml.internals.base_return_types import _get_base_return_type
  from cuml.internals.constants import CUML_WRAPPED_FLAG
label_desc: Use image node_id 2 for calling the _tags_class_and_instance obj's underlying member method code with example usage: obj.instance_method(_instance) and returns: _tags_class_and_instance