code: def convert(net_def, data_type):
      if data_type == mace_pb2.DT_BFLOAT16:
          print("data type is bfloat16, add input/output layers")
          return MicroIoConverter.add_dt_cast_for_bf16(net_def)
      else:
          print("data type is %s" % data_type)
      return net_def
  
imports: from py_proto import mace_pb2
  from transform.base_converter import MaceOp
  from utils.util import mace_check
  import copy
label_desc: Use image node_id 2 for calling the MicroIoConverter obj's underlying member method code with example usage: obj.convert(net_def, data_type) and returns: net_def, MicroIoConverter