Home
last modified time | relevance | path

Searched refs:to_merge (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_sharding_util.cc69 bool MergeSharding(const HloSharding& old, HloSharding* to_merge, in MergeSharding() argument
72 CHECK(to_merge->IsTuple()); in MergeSharding()
76 MergeSharding(old.tuple_elements()[i], &to_merge->tuple_elements()[i], in MergeSharding()
82 !to_merge->ReplicateOnLastTileDim() || in MergeSharding()
84 to_merge->tile_assignment().num_elements()) { in MergeSharding()
85 return IsShardingMoreSpecific(*to_merge, old); in MergeSharding()
91 new_tile_dims.reserve(to_merge->tile_assignment().num_dimensions()); in MergeSharding()
92 for (int64 i = 0; i < to_merge->tile_assignment().num_dimensions() - 1; ++i) { in MergeSharding()
93 int64 new_dim = to_merge->tile_assignment().dim(i); in MergeSharding()
109 return IsShardingMoreSpecific(*to_merge, old); in MergeSharding()
[all …]
Dhlo_sharding_util.h49 bool MergeSharding(const HloSharding& old, HloSharding* to_merge,
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dcluster_formation.cc75 bool CanMergeIntoCluster(const Cluster& c, Operation* to_merge) { in CanMergeIntoCluster() argument
76 return llvm::all_of(to_merge->getOperands(), [&](Value operand) { in CanMergeIntoCluster()
/external/grpc-grpc/test/cpp/qps/
Dclient.h161 std::vector<Histogram> to_merge(threads_.size()); in Mark()
165 threads_[i]->BeginSwap(&to_merge[i], &to_merge_status[i]); in Mark()
170 latencies.Merge(to_merge[i]); in Mark()
/external/tensorflow/tensorflow/core/common_runtime/
Dbfc_allocator.cc814 std::vector<void*> to_merge; in MergeTimestampedChunks() local
832 to_merge.push_back(c->ptr); in MergeTimestampedChunks()
839 to_merge.push_back(c->ptr); in MergeTimestampedChunks()
841 to_merge.push_back(c->ptr); in MergeTimestampedChunks()
853 for (int ci = 0, end = to_merge.size(); ci < end; ++ci) { in MergeTimestampedChunks()
854 void* ptr = to_merge[ci]; in MergeTimestampedChunks()
/external/python/cpython2/Objects/
Dtypeobject.c1464 set_mro_error(PyObject *to_merge, int *remain) in set_mro_error() argument
1472 to_merge_size = PyList_GET_SIZE(to_merge); in set_mro_error()
1474 PyObject *L = PyList_GET_ITEM(to_merge, i); in set_mro_error()
1503 pmerge(PyObject *acc, PyObject* to_merge) { in pmerge() argument
1508 to_merge_size = PyList_GET_SIZE(to_merge); in pmerge()
1525 PyObject *cur_list = PyList_GET_ITEM(to_merge, i); in pmerge()
1541 PyObject *j_lst = PyList_GET_ITEM(to_merge, j); in pmerge()
1552 PyObject *j_lst = PyList_GET_ITEM(to_merge, j); in pmerge()
1566 set_mro_error(to_merge, remain); in pmerge()
1577 PyObject *to_merge, *bases_aslist; in mro_implementation() local
[all …]
/external/python/cpython3/Lib/
Dipaddress.py282 to_merge = list(addresses)
284 while to_merge:
285 net = to_merge.pop()
293 to_merge.append(supernet)
/external/python/ipaddress/
Dipaddress.py402 to_merge = list(addresses)
404 while to_merge:
405 net = to_merge.pop()
413 to_merge.append(supernet)
/external/python/cpython3/Objects/
Dtypeobject.c1655 set_mro_error(PyObject **to_merge, Py_ssize_t to_merge_size, int *remain) in set_mro_error() argument
1664 PyObject *L = to_merge[i]; in set_mro_error()
1706 pmerge(PyObject *acc, PyObject **to_merge, Py_ssize_t to_merge_size) in pmerge() argument
1729 PyObject *cur_tuple = to_merge[i]; in pmerge()
1745 PyObject *j_lst = to_merge[j]; in pmerge()
1754 PyObject *j_lst = to_merge[j]; in pmerge()
1765 set_mro_error(to_merge, to_merge_size, remain); in pmerge()
1780 PyObject **to_merge; in mro_implementation() local
1836 to_merge = PyMem_New(PyObject *, n + 1); in mro_implementation()
1837 if (to_merge == NULL) { in mro_implementation()
[all …]