文档中心to_device返回顶部[object Object][object Object]全量芯片支持。 [object Object]将当前Tensor从Host移动到Device。 [object Object][object Object][object Object]无 [object Object](Tensor) 返回自身以支持链式调用。 [object Object] 如果当前Tensor不是Host内存,抛出ValueError。 如果移动失败,抛出RuntimeError。