Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/python/
Dtypes.h448 handle sharding_type = getattr(handle_obj, "type");
449 if (!sharding_type.is_none()) {
450 value.set_type(sharding_type.cast<xla::OpSharding_Type>());
476 handle sharding_type = getattr(tuple_sharding, "type");
477 if (!sharding_type.is_none()) {
478 sharding->set_type(sharding_type.cast<xla::OpSharding_Type>());
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dxla_sharding_util.cc630 const auto sharding_type = sharding.type(); in GetMetadataArgumentMapping() local
631 if (sharding_type == xla::OpSharding::OTHER) { in GetMetadataArgumentMapping()
634 } else if (sharding_type == xla::OpSharding::REPLICATED) { in GetMetadataArgumentMapping()
637 assert(sharding_type == xla::OpSharding::MAXIMAL); in GetMetadataArgumentMapping()
/external/tensorflow/tensorflow/core/kernels/
Deigen_contraction_kernel.h273 template <typename StorageIndex, int sharding_type>
275 sharding_type> {
298 if (sharding_type == ShardByCol) {
341 template <typename StorageIndex, int sharding_type>
343 StorageIndex, sharding_type> {
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_program_group.cc316 TpuProgramShardingType sharding_type) const { in tpu_programs()
322 tpu_programs_[i], sharding_type)); in tpu_programs()