parameters: (pyvals_and_devices, backend=None)
return_statement: return backend.buffers_from_pyvals(pyvals_and_devices)
docstring: Copies multiple Python values to freshly allocated on-device buffers.
  
      Arguments:
        pyvals_and_devices: a list of `(pyval, device)` pairs, where `pyval` is a
          Python value to copy (e.g., a NumPy array), and `device` is an integer
          device ordinal.
        backend: a Backend object, or `None` to use the default local backend.
  
      Returns:
        A list of `Buffer` objects corresponding to `pyvals_and_devices`.
docstring_summary: Copies multiple Python values to freshly allocated on-device buffers.
docstring_tokens: Copies multiple Python values to freshly allocated on - device buffers .
function: def from_pyvals(pyvals_and_devices, backend=None):
      """Copies multiple Python values to freshly allocated on-device buffers.
  
      Arguments:
        pyvals_and_devices: a list of `(pyval, device)` pairs, where `pyval` is a
          Python value to copy (e.g., a NumPy array), and `device` is an integer
          device ordinal.
        backend: a Backend object, or `None` to use the default local backend.
  
      Returns:
        A list of `Buffer` objects corresponding to `pyvals_and_devices`.
      """
      backend = backend or get_local_backend()
      return backend.buffers_from_pyvals(pyvals_and_devices)
function_tokens: def from_pyvals ( pyvals_and_devices , backend = None ) : backend = backend or get_local_backend ( ) return backend . buffers_from_pyvals ( pyvals_and_devices )