original_docstring: Use multi-tensor-applier to copy values from one list to another.
      We don't have a blfoat16 implementation so for now if the overflow_buf
      is not provided, we default back to simple loop copy to be compatible
      with bfloat16.
docstring: Use multi-tensor-applier to copy values from one list to another.
  We don't have a blfoat16 implementation so for now if the overflow_buf
  is not provided, we default back to simple loop copy to be compatible
  with bfloat16.
docstring_tokens: Use multi - tensor - applier to copy values from one list to another . We don ' t have a blfoat16 implementation so for now if the overflow_buf is not provided we default back to simple loop copy to be compatible with bfloat16 .
code: def _multi_tensor_copy_this_to_that(this, that, overflow_buf=None):
      """Use multi-tensor-applier to copy values from one list to another.
      We don't have a blfoat16 implementation so for now if the overflow_buf
      is not provided, we default back to simple loop copy to be compatible
      with bfloat16."""
      if overflow_buf:
          overflow_buf.fill_(0)
          # Scaling with factor `1.0` is equivalent to copy.
          multi_tensor_applier(amp_C.multi_tensor_scale,
                               overflow_buf,
                               [this, that],
                               1.0)
      else:
          for this_, that_ in zip(this, that):
              that_.copy_(this_)
code_tokens: def _multi_tensor_copy_this_to_that ( this , that , overflow_buf = None ) : if overflow_buf : overflow_buf . fill_ ( 0 ) multi_tensor_applier ( amp_C . multi_tensor_scale , overflow_buf , [ this , that ] , 1.0 ) else : for this_ , that_ in zip ( this , that ) : that_ . copy_ ( this_ )
short_docstring: Use multi-tensor-applier to copy values from one list to another.
short_docstring_tokens: Use multi - tensor - applier to copy values from one list to another .
comment: """Use multi-tensor-applier to copy values from one list to another.
      We don't have a blfoat16 implementation so for now if the overflow_buf
      is not provided, we default back to simple loop copy to be compatible
      with bfloat16."""$SEP$# Scaling with factor `1.0` is equivalent to copy.