Home
last modified time | relevance | path

Searched refs:sort_by_key (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/python/framework/
Dtest_combinations.py390 sort_by_key = lambda k: k[0] function
391 kwargs = OrderedDict(sorted(kwargs.items(), key=sort_by_key))
403 OrderedDict(sorted(list(combined.items()) + [(key, v)], key=sort_by_key))
Dtest_util.py997 sort_by_key = lambda k: k[0] function
999 for key, values in sorted(kwargs.items(), key=sort_by_key):
/external/rust/crates/syn/tests/
Dtest_round_trip.rs173 e.args.sort_by_key(|arg| match arg { in normalize()
189 e.params.sort_by_key(|param| match param.kind { in normalize()
/external/rust/cxx/gen/build/src/
Ddeps.rs95 dirs.sort_by_key(|(sort_key, _dir)| *sort_key); in direct_dependencies()
/external/rust/crates/unicode-normalization/src/
Ddecompose.rs77 self.buffer[self.ready.end..].sort_by_key(|k| k.0); in sort_pending()
/external/rust/cxx/gen/src/
Derror.rs108 errors.sort_by_key(|e| { in sort_syn_errors()
/external/rust/crates/plotters-backend/src/rasterizer/
Dpolygon.rs106 edges.sort_by_key(|((x1, y1), (x2, y2))| { in fill_polygon()
/external/rust/crates/idna/src/
Dpunycode.rs155 self.insertions.sort_by_key(|(i, _)| *i); in decode()
/external/rust/crates/tokio/src/runtime/blocking/
Dpool.rs164 workers.sort_by_key(|(id, _)| *id); in shutdown()
/external/rust/crates/regex-automata/src/
Dminimize.rs237 sets.sort_by_key(|s| s.len()); in initial_partitions()
/external/tensorflow/tensorflow/python/keras/
Dtesting_utils.py1087 sort_by_key = lambda k: k[0] function
1089 for key, values in sorted(kwargs.items(), key=sort_by_key):
/external/rust/crates/walkdir/src/
Dlib.rs416 pub fn sort_by_key<K, F>(self, mut cmp: F) -> Self in sort_by_key() method
/external/rust/crates/walkdir/src/tests/
Drecursive.rs904 fn sort_by_key() { in sort_by_key() function
910 WalkDir::new(dir.path()).sort_by_key(|a| a.file_name().to_owned()); in sort_by_key()
/external/rust/crates/criterion/src/html/
Dmod.rs519 all_data.sort_by_key(|(id, _)| id.function_id.as_ref()); in summarize()
/external/rust/crates/itertools/src/
Dlib.rs2424 v.sort_by_key(f); in sorted_by_key()