Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/python/
Dpmap_lib.h112 using MeshDimAssignment = absl::variant<ShardedAxis, Replicated>; variable
119 std::vector<MeshDimAssignment> mesh_mapping) in ShardingSpec()
124 const std::vector<MeshDimAssignment>& GetMeshMapping() const { in GetMeshMapping()
138 std::vector<MeshDimAssignment> mesh_mapping_;
Dpmap_lib.cc83 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()