code: def get_fw_bw_result_types_with_scalar(
      forward_numpy_call,
      fwd_res_dflt,
      backward_numpy_call,
      bwd_res_dflt,
  ):
      return (
          get_result_type_with_scalar(forward_numpy_call, fwd_res_dflt),
          get_result_type_with_scalar(
              backward_numpy_call, bwd_res_dflt
          ),
      )
  
imports: from mxnet.test_utils import *
  from mxnet.base import MXNetError
  import pytest
  from common import assertRaises
  import random
  import warnings
label_desc: Use image node_id 8 for calling a global function with example usage: get_fw_bw_result_types_with_scalar(forward_numpy_call, fwd_res_dflt, backward_numpy_call, bwd_res_dflt) and returns: get_result_type_with_scalar,  get_result_type_with_scalar