code: def _update_signature_def_tensors(
      tensor_maps, map_old_to_new_tensors
  ):
      """Update the tensors in the SignatureDef's TensorMaps."""
      for i in range(len(tensor_maps)):
          if tensor_maps[i].tensorIndex in map_old_to_new_tensors:
              tensor_maps[i].tensorIndex = map_old_to_new_tensors[
                  tensor_maps[i].tensorIndex
              ]
  
file_path: compute-engine/larq_compute_engine/mlir/python/util.py
imports: import copy
  import flatbuffers
  import tensorflow
  from larq_compute_engine.mlir.python import tflite_schema
label_desc: Use image node_id 4 for calling a global function with example usage: _update_signature_def_tensors(tensor_maps, map_old_to_new_tensors) without return types