code: def get_tensor_from_raw_BGR(im) -> torch.Tensor:
      raw_data = cv2.cvtColor(im, cv2.COLOR_BGR2RGB)
      raw_data = torch.from_numpy(raw_data).float()
      raw_data = raw_data.permute(2, 0, 1)
      raw_data = torch.div(raw_data, 255).unsqueeze(0)
      return raw_data
  
file_path: pytorch/test/test_bundled_images.py
imports: import torch
  import torch.utils.bundled_inputs
  import io
  import cv2
  from torch.testing._internal.common_utils import TestCase
label_desc: Use image node_id 4 for calling a global function with example usage: get_tensor_from_raw_BGR(im) and returns: raw_data