/external/tensorflow/tensorflow/python/debug/cli/ |
D | profile_analyzer_cli.py | 198 def _list_profile_sort_key(profile_datum, sort_by): argument 209 if sort_by == SORT_OPS_BY_OP_NAME: 211 elif sort_by == SORT_OPS_BY_OP_TYPE: 213 elif sort_by == SORT_OPS_BY_LINE: 215 elif sort_by == SORT_OPS_BY_OP_TIME: 217 elif sort_by == SORT_OPS_BY_EXEC_TIME: 429 key=lambda datum: _list_profile_sort_key(datum, parsed.sort_by), 434 profile_data, parsed.sort_by, parsed.reverse, parsed.time_unit, 478 profile_datum_list, sort_by, sort_reverse, time_unit, argument 547 if sort_by == sort_id and not sort_reverse:
|
D | analyzer_cli.py | 552 data_to_show, parsed.sort_by, parsed.reverse) 641 def _sort_dump_data_by(self, data, sort_by, reverse): argument 656 if sort_by == SORT_TENSORS_BY_TIMESTAMP: 661 elif sort_by == SORT_TENSORS_BY_DUMP_SIZE: 663 elif sort_by == SORT_TENSORS_BY_OP_TYPE: 668 elif sort_by == SORT_TENSORS_BY_TENSOR_NAME: 674 raise ValueError("Unsupported key to sort tensors by: %s" % sort_by) 701 if parsed.sort_by == SORT_TENSORS_BY_TIMESTAMP and not parsed.reverse: 710 if parsed.sort_by == SORT_TENSORS_BY_DUMP_SIZE and not parsed.reverse: 719 if parsed.sort_by == SORT_TENSORS_BY_OP_TYPE and not parsed.reverse: [all …]
|
D | analyzer_cli_test.py | 123 sort_by="timestamp", argument 231 if sort_by == "timestamp": 236 elif sort_by == "dump_size": 241 elif sort_by == "op_type": 246 elif sort_by == "tensor_name": 252 tst.fail("Invalid value in sort_by: %s" % sort_by) 693 sort_by="timestamp", 709 sort_by="dump_size") 724 sort_by="dump_size", 746 sort_by="op_type", [all …]
|
/external/rust/crates/unicode-bidi/src/ |
D | prepare.rs | 200 sequences.sort_by(|a, b| a.runs[0].clone().cmp(b.runs[0].clone())); in test_isolating_run_sequences() 213 sequences.sort_by(|a, b| a.runs[0].clone().cmp(b.runs[0].clone())); in test_isolating_run_sequences() 226 sequences.sort_by(|a, b| a.runs[0].clone().cmp(b.runs[0].clone())); in test_isolating_run_sequences() 245 sequences.sort_by(|a, b| a.runs[0].clone().cmp(b.runs[0].clone())); in test_isolating_run_sequences_sos_and_eos() 304 sequences.sort_by(|a, b| a.runs[0].clone().cmp(b.runs[0].clone())); in test_isolating_run_sequences_sos_and_eos()
|
/external/rust/crates/walkdir/src/ |
D | lib.rs | 394 pub fn sort_by<F>(mut self, cmp: F) -> Self in sort_by() method 421 self.sort_by(move |a, b| cmp(a).cmp(&cmp(b))) in sort_by_key() 434 self.sort_by(|a, b| a.file_name().cmp(b.file_name())) in sort_by_file_name() 889 entries.sort_by(|a, b| match (a, b) { in push()
|
/external/autotest/frontend/afe/ |
D | model_logic.py | 727 sort_by = special_params.get('sort_by', None) 728 if sort_by: 729 assert isinstance(sort_by, list) or isinstance(sort_by, tuple) 730 query = query.extra(order_by=sort_by)
|
D | rpc_interface.py | 1705 result['users'] = get_users(sort_by=['login']) 1713 sort_by=['-platform', 'name']) 1715 result['tests'] = get_tests(sort_by=['name']) 1716 result['profilers'] = get_profilers(sort_by=['name'])
|
/external/rust/crates/nix/test/ |
D | test_dir.rs | 15 entries.sort_by(|a, b| a.file_name().cmp(b.file_name())); in read()
|
/external/rust/crates/plotters/examples/ |
D | errorbar.rs | 80 g.sort_by(|a, b| a.partial_cmp(b).unwrap()); in down_sample()
|
/external/rust/crates/itertools/examples/ |
D | iris.rs | 71 irises.sort_by(|a, b| Ord::cmp(&a.name, &b.name)); in main()
|
/external/rust/crates/protobuf/src/ |
D | repeated.rs | 270 pub fn sort_by<F>(&mut self, compare: F) in sort_by() method 274 self.as_mut_slice().sort_by(compare) in sort_by()
|
/external/rust/crates/syn/tests/ |
D | test_round_trip.rs | 51 .sort_by(|a, b| a.file_name().cmp(b.file_name())) in test_round_trip()
|
D | test_precedence.rs | 97 .sort_by(|a, b| a.file_name().cmp(b.file_name())) in test_rustc_precedence()
|
/external/rust/crates/aho-corasick/src/packed/ |
D | pattern.rs | 95 order.sort_by(|&id1, &id2| { in set_match_kind()
|
/external/rust/crates/walkdir/src/tests/ |
D | util.rs | 60 ents.sort_by(|e1, e2| e1.path().cmp(e2.path())); in sorted_ents()
|
D | recursive.rs | 882 fn sort_by() { in sort_by() function 888 .sort_by(|a, b| a.file_name().cmp(b.file_name()).reverse()); in sort_by() 954 .sort_by(|a, b| a.file_name().cmp(b.file_name()).reverse()); in sort_max_open()
|
/external/crosvm/disk/src/ |
D | composite.rs | 97 disks.sort_by(|d1, d2| d1.offset.cmp(&d2.offset)); in new() 153 disks.sort_by(|d1, d2| d1.offset.cmp(&d2.offset)); in from_file()
|
/external/rust/crates/itertools/ |
D | CHANGELOG.md | 189 - `.sort_by()`, use `.sorted_by()` 270 - Rename `.sort_by()` to `.sorted_by()`. Old name is deprecated. 292 - Added method `.sort_by()`
|
/external/rust/crates/criterion/src/plot/gnuplot_backend/ |
D | summary.rs | 97 tuples.sort_by(|&(ax, _), &(bx, _)| (ax.partial_cmp(&bx).unwrap_or(Ordering::Less))); in line_comparison()
|
/external/rust/crates/criterion/src/plot/plotters_backend/ |
D | summary.rs | 146 tuples.sort_by(|&(ax, _), &(bx, _)| (ax.partial_cmp(&bx).unwrap_or(Ordering::Less))); in line_comparison_series_data()
|
/external/autotest/frontend/tko/ |
D | rpc_interface.py | 482 result['test_labels'] = get_test_labels(sort_by=['name'])
|
/external/rust/crates/bencher/ |
D | stats.rs | 33 v.sort_by(|x: &f64, y: &f64| local_cmp(*x, *y)); in local_sort()
|
D | lib.rs | 549 filtered.sort_by(|t1, t2| t1.desc.name.cmp(&t2.desc.name)); in filter_tests()
|
/external/rust/crates/env_logger/src/filter/ |
D | mod.rs | 243 self.directives.sort_by(|a, b| { in build()
|
/external/rust/crates/glob/src/ |
D | lib.rs | 868 children.sort_by(|p1, p2| p2.file_name().cmp(&p1.file_name())); in fill_todo()
|