Searched refs:MeshDimAssignment (Results 1 – 2 of 2) sorted by relevance
112 using MeshDimAssignment = absl::variant<ShardedAxis, Replicated>; variable119 std::vector<MeshDimAssignment> mesh_mapping) in ShardingSpec()124 const std::vector<MeshDimAssignment>& GetMeshMapping() const { in GetMeshMapping()138 std::vector<MeshDimAssignment> mesh_mapping_;
83 std::vector<MeshDimAssignment> PyMeshShardingToCpp( in PyMeshShardingToCpp()85 return py::cast<std::vector<MeshDimAssignment>>(py_mesh_mapping); in PyMeshShardingToCpp()89 std::vector<MeshDimAssignment> mesh_mapping) { in CppMeshMappingToPy()404 std::vector<MeshDimAssignment>>(), in BuildPmapSubmodule()