code: def extract_dataset_features(data, feature_metadata=None):
      return extract_features(
          data,
          ImageColumns.LABEL,
          ImageModes.RGB,
          feature_metadata=feature_metadata,
      )
  
file_path: responsible-ai-toolbox/responsibleai_vision/tests/test_feature_extractors.py
imports: from common_vision_utils import load_flowers_dataset, load_fridge_dataset, load_fridge_object_detection_dataset, load_imagenet_dataset
  from responsibleai.feature_metadata import FeatureMetadata
  from responsibleai_vision.common.constants import ExtractedFeatures, ImageColumns, ImageModes
  from responsibleai_vision.utils.feature_extractors import extract_features
label_desc: Use image node_id 2 for calling a global function with example usage: extract_dataset_features(data, feature_metadata) and returns: extract_features