When the operations in the source region are inlined, a list of
attributes can be added to these operations.
This is to propagate the attributes, such as "device" and "_tpu_replicate", to the inlined operations. These attributes might be different at different call sites, so we couldn't set them in the src.
An alternative implementation is the inlineCall method returns all the new inlined operations, so the caller can set them.