Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/python/
Dpmap_lib.h85 using AvalDimSharding = absl::variant<NoSharding, Chunked, Unstacked>; variable
118 ShardingSpec(std::vector<AvalDimSharding> sharding, in ShardingSpec()
123 const std::vector<AvalDimSharding>& GetSharding() const { return sharding_; } in GetSharding()
132 std::vector<AvalDimSharding> sharding_;
Dpmap_lib.cc43 std::vector<AvalDimSharding> PyShardingToCpp(pybind11::tuple py_sharding) { in PyShardingToCpp()
44 std::vector<AvalDimSharding> cpp_sharding; in PyShardingToCpp()
64 pybind11::tuple CppShardingToPy(std::vector<AvalDimSharding> sharding) { in CppShardingToPy()
403 .def(py::init<std::vector<AvalDimSharding>, in BuildPmapSubmodule()