code: def get_activation_quantization_shared_parameters(param_dict):
      output = {}
      if SHARED_PARAMETERS in param_dict.keys():
          sub_param_dict = param_dict[SHARED_PARAMETERS]
          output[ACTIVATION_QUANTIZATION_ENABLED] = get_scalar_param(
              sub_param_dict,
              ACTIVATION_QUANTIZATION_ENABLED,
              ACTIVATION_QUANTIZATION_ENABLED_DEFAULT,
          )
          output[ACTIVATION_QUANTIZE_TYPE] = get_scalar_param(
              sub_param_dict,
              ACTIVATION_QUANTIZE_TYPE,
              ACTIVATION_QUANTIZE_TYPE_DEFAULT,
          )
          assert output[ACTIVATION_QUANTIZE_TYPE] in [
              ACTIVATION_QUANTIZE_SYMMETRIC,
              ACTIVATION_QUANTIZE_ASYMMETRIC,
          ], f"Invalid activation quantize type. Supported types: [{ACTIVATION_QUANTIZE_SYMMETRIC}, {ACTIVATION_QUANTIZE_ASYMMETRIC}]"
          output[ACTIVATION_QUANTIZE_RANGE] = get_scalar_param(
              sub_param_dict,
              ACTIVATION_QUANTIZE_RANGE,
              ACTIVATION_QUANTIZE_RANGE_DEFAULT,
          )
          assert output[ACTIVATION_QUANTIZE_RANGE] in [
              ACTIVATION_QUANTIZE_RANGE_DYNAMIC,
              ACTIVATION_QUANTIZE_RANGE_STATIC,
          ], f"Invalid activation quantize range calibration. Supported types: [{ACTIVATION_QUANTIZE_RANGE_DYNAMIC}, {ACTIVATION_QUANTIZE_RANGE_STATIC}]"
          output[
              ACTIVATION_QUANTIZE_SCHEDULE_OFFSET
          ] = get_scalar_param(
              sub_param_dict,
              ACTIVATION_QUANTIZE_SCHEDULE_OFFSET,
              ACTIVATION_QUANTIZE_SCHEDULE_OFFSET_DEFAULT,
          )
      else:
          output[
              ACTIVATION_QUANTIZATION_ENABLED
          ] = ACTIVATION_QUANTIZATION_ENABLED_DEFAULT
          output[
              ACTIVATION_QUANTIZE_TYPE
          ] = ACTIVATION_QUANTIZE_TYPE_DEFAULT
          output[
              ACTIVATION_QUANTIZE_RANGE
          ] = ACTIVATION_QUANTIZE_RANGE_DEFAULT
          output[
              ACTIVATION_QUANTIZE_SCHEDULE_OFFSET
          ] = ACTIVATION_QUANTIZE_SCHEDULE_OFFSET_DEFAULT
      return output
  
imports: from .constants import *
  import copy
  from ..runtime.config_utils import get_scalar_param, get_list_param
label_desc: Use image node_id 10 for calling a global function with example usage: get_activation_quantization_shared_parameters(param_dict) and returns: output