Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/python/
Dxla_compiler.cc405 .def("set_sharding", &XlaBuilder::SetSharding) in BuildXlaCompilerSubmodule()
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.h194 void SetSharding(const OpSharding& sharding) { sharding_ = sharding; } in SetSharding() function
1485 SetSharding(sharding); in XlaScopedShardingAssignment()
1492 ~XlaScopedShardingAssignment() { SetSharding(prev_sharding_); } in ~XlaScopedShardingAssignment()
1495 void SetSharding(const absl::optional<OpSharding>& sharding) { in SetSharding() function
1497 builder_->SetSharding(sharding.value()); in SetSharding()
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dmlir_hlo_to_hlo.cc1336 builder->SetSharding(sharding); in Lower()
1501 builder->SetSharding(sharding); in SetEntryTupleShardings()
1539 builder->SetSharding(*arg_shardings[arg.getArgNumber()]); in LowerBasicBlockAsFunction()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dlocal_client_execute_test.cc794 builder.SetSharding(sharding_builder::AssignDevice(1)); in XLA_TEST_F()