code: def calc_max_quant_value(bits):
      """Calculate the maximum symmetric quantized value according to number of bits"""
      return 2 ** (bits - 1) - 1
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  from enum import Enum, auto
  import logging
  from abc import ABC, abstractmethod
  import torch
  from torch import nn
  from torch.nn import functional
  from nlp_architect.common import Config
label_desc: Use image node_id 3 for calling a global function with example usage: calc_max_quant_value(bits) and returns: unknown