code: def scratch_size_conv(self, op_def):
      if (
          ModelKeys.quantize in self.model_conf
          and self.model_conf[ModelKeys.quantize] == 1
      ):
          output_channels = op_def.output_shape[0].dims[3]
          cmsis_bias_bytes = (
              self.get_data_bytes(mace_pb2.DT_INT32) * output_channels
          )
  
          input_dims = self.get_op_input_dims(op_def, 0)
          filter_dims = self.get_op_input_dims(op_def, 1)
          cmsis_nn_buffer_bytes = (
              2
              * input_dims[3]
              * filter_dims[2]
              * filter_dims[1]
              * self.get_data_bytes(mace_pb2.DT_INT16)
          )
  
          return cmsis_nn_buffer_bytes + cmsis_bias_bytes
      else:
          return 0
  
imports: from py_proto import mace_pb2
  from utils.config_parser import ModelKeys
  from utils.util import mace_check
  from transform.base_converter import MaceKeyword
  from transform.base_converter import MaceOp
label_desc: Use image node_id 6 for calling the ScratchComputer obj's underlying member method code with example usage: obj.scratch_size_conv(op_def) and returns: unknown, int