Searched refs:AvalDimSharding (Results 1 – 2 of 2) sorted by relevance
85 using AvalDimSharding = absl::variant<NoSharding, Chunked, Unstacked>; variable118 ShardingSpec(std::vector<AvalDimSharding> sharding, in ShardingSpec()123 const std::vector<AvalDimSharding>& GetSharding() const { return sharding_; } in GetSharding()132 std::vector<AvalDimSharding> sharding_;
43 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()