code: def _create_rgb_image(d):
      """Creates and rescales RGB image."""
      img = np.stack([d.pop("B04"), d.pop("B03"), d.pop("B02")], axis=2)
      img = img / _OPTICAL_MAX_VALUE * 255.0
      d["image"] = np.clip(img, 0, 255).astype(np.uint8)
  
file_path: datasets/tensorflow_datasets/datasets/bigearthnet/bigearthnet_dataset_builder.py
imports: from __future__ import annotations
  import io
  import json
  import os
  import numpy
  import tensorflow_datasets.public_api
label_desc: Use image node_id 3 for calling a global function with example usage: _create_rgb_image(d) without return types