Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/
Dcollective_ops_utils.cc27 auto match_opcode = [&](HloOpcode opcode) { in MatchReductionComputation() local
38 if (match_opcode(HloOpcode::kAdd)) { in MatchReductionComputation()
40 } else if (match_opcode(HloOpcode::kMultiply)) { in MatchReductionComputation()
42 } else if (match_opcode(HloOpcode::kMinimum) || in MatchReductionComputation()
43 (type == PRED && match_opcode(HloOpcode::kAnd))) { in MatchReductionComputation()
45 } else if (match_opcode(HloOpcode::kMaximum) || in MatchReductionComputation()
46 (type == PRED && match_opcode(HloOpcode::kOr))) { in MatchReductionComputation()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dxla_hlo_profile_test.cc100 string match_opcode = expect_hlo ? "%[^=]+= [^ ]+ ([^(]+)\\(.*" local
105 match_bytes_per_cycle, separator, match_opcode);