Searched refs:shaped_tree (Results 1 – 1 of 1) sorted by relevance
543 xla::ShapeTree<xla::MaybeOwningDeviceMemory> shaped_tree(on_device_shape()); in ToDeviceMemoryTree() local546 *shaped_tree.mutable_element(buffer.first) = buffer.second->allocation(); in ToDeviceMemoryTree()548 *shaped_tree.mutable_element(buffer.first) = xla::OwningDeviceMemory( in ToDeviceMemoryTree()553 return shaped_tree; in ToDeviceMemoryTree()