code: def explicit_filter_keep_keras(parent_path, parent, children):
      """Like explicit_package_contents_filter, but keeps keras."""
      new_children = public_api.explicit_package_contents_filter(
          parent_path, parent, children
      )
  
      if parent_path[-1] not in ["tf", "v1", "v2"]:
          return new_children
  
      had_keras = any(name == "keras" for name, child in children)
      has_keras = any(name == "keras" for name, child in new_children)
  
      if had_keras and not has_keras:
          new_children.append(("keras", parent.keras))
  
      return sorted(new_children, key=lambda x: x[0])
  
file_path: tensorflow/tensorflow/tools/docs/base_dir.py
imports: import pathlib
  import keras
  from packaging import version
  import tensorboard
  import tensorflow
  from tensorflow_docs.api_generator import public_api
  import tensorflow_estimator
label_desc: Use image node_id 2 for calling a global function with example usage: explicit_filter_keep_keras(parent_path, parent, children) and returns: sorted, new_children