Searched refs:assign_device (Results 1 – 4 of 4) sorted by relevance
60 def assign_device(cls, core): member in Sharding268 def assign_device(tensor, function273 return Sharding.assign_device(device).apply_to_tensor(
58 void SwapGraph(Graph* graph, bool assign_device = false) { in SwapGraph() argument60 if (assign_device) { in SwapGraph()71 if (assign_device) { in SwapGraph()
101 return xla_sharding.assign_device(tensor, 0, assign_tuple_sharding=True)
457 return xla_sharding.assign_device(