Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_sharding_util.cc336 int64 s_partitions = 1; in ReshapeSharding() local
340 s_partitions = sharding_tile_dims_stack.back(); in ReshapeSharding()
345 if (s_partitions * Product(sharding_tile_dims_stack) == 1) { in ReshapeSharding()
352 target_tile_assignment_dimensions.push_back(s_partitions); in ReshapeSharding()
357 sharding_tile_dims_stack.push_back(s_partitions); in ReshapeSharding()
360 if (s_partitions != 1) { in ReshapeSharding()
366 if (s_size % t_size != 0 || s_size % s_partitions != 0) { in ReshapeSharding()
369 if (t_size % s_partitions == 0) { in ReshapeSharding()
370 target_tile_assignment_dimensions.push_back(s_partitions); in ReshapeSharding()
374 } else if (s_partitions % t_size == 0) { in ReshapeSharding()
[all …]