original_docstring:  Applies the inferred connector types on the SDFG. 
docstring: Applies the inferred connector types on the SDFG.
docstring_tokens: Applies the inferred connector types on the SDFG .
code: def apply_connector_types(inferred: TypeInferenceDict):
      """ Applies the inferred connector types on the SDFG. """
  
      for (node, conn, is_in), dtype in inferred.items():
          if dtype.type is None:
              continue
          if is_in:
              node.in_connectors[conn] = dtype
          else:
              node.out_connectors[conn] = dtype
code_tokens: def apply_connector_types ( inferred : TypeInferenceDict ) : for ( node , conn , is_in ) , dtype in inferred . items ( ) : if dtype . type is None : continue if is_in : node . in_connectors [ conn ] = dtype else : node . out_connectors [ conn ] = dtype
short_docstring: Applies the inferred connector types on the SDFG.
short_docstring_tokens: Applies the inferred connector types on the SDFG .
comment: """ Applies the inferred connector types on the SDFG. """