Searched refs:py_sharding (Results 1 – 1 of 1) sorted by relevance
43 std::vector<AvalDimSharding> PyShardingToCpp(pybind11::tuple py_sharding) { in PyShardingToCpp() argument45 cpp_sharding.reserve(py_sharding.size()); in PyShardingToCpp()46 for (py::handle value : py_sharding) { in PyShardingToCpp()