Home
last modified time | relevance | path

Searched refs:tensor_split_dims_mapping (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/experimental/xla_sharding/
Dxla_sharding.py409 def mesh_split_sharding(device_mesh, tensor_split_dims_mapping): argument
424 permutation = [d for d in tensor_split_dims_mapping if d >= 0]
430 device_mesh.shape), tensor_split_dims_mapping, device_mesh.shape))
437 1 if d < 0 else device_mesh.shape[d] for d in tensor_split_dims_mapping
451 tensor_split_dims_mapping, argument
469 sharding = mesh_split_sharding(device_mesh, tensor_split_dims_mapping)