Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Ctrl+K
JAX  documentation - Home

jax.Array.to_device

jax.Array.to_device#

abstractArray.to_device(device,*,stream=None)[source]#

Return a copy of the array on the specified device

Parameters:
  • device (xc.Device |Sharding) –Device orShardingto which the created array will be committed.

  • stream (int |Any |None) – not implemented, passing a non-None value will lead to an error.

  • self (Array)

Returns:

copy of array placed on the specified device or devices.


[8]ページ先頭

©2009-2025 Movatter.jp