Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.h159 void SetSharding(const OpSharding& sharding) { sharding_ = sharding; } in SetSharding() function
1057 SetSharding(sharding); in XlaScopedShardingAssignment()
1064 ~XlaScopedShardingAssignment() { SetSharding(prev_sharding_); } in ~XlaScopedShardingAssignment()
1067 void SetSharding(const absl::optional<OpSharding>& sharding) { in SetSharding() function
1069 builder_->SetSharding(sharding.value()); in SetSharding()
/external/tensorflow/tensorflow/compiler/xla/python/
Dxla_client.py748 def SetSharding(self, sharding): member in ComputationBuilder
750 self._builder.SetSharding(sharding)
Dxla.cc806 .def("SetSharding", &XlaBuilder::SetSharding) in PYBIND11_MODULE()
Dxla_client_test.py2046 c.SetSharding(sharding)
/external/tensorflow/tensorflow/compiler/xla/tests/
Dlocal_client_execute_test.cc794 builder.SetSharding(sharding_builder::AssignDevice(1)); in XLA_TEST_F()