diff options
author | 2017-09-14 16:25:40 -0700 | |
---|---|---|
committer | 2017-09-14 16:33:08 -0700 | |
commit | 57a4506da1fe74a41812a2b843c46b5fd010193d (patch) | |
tree | 142f96c5fa7371666ae2b7eda76c0b166e7427c8 /tensorflow/compiler/xla/service/hlo_cost_analysis.cc | |
parent | c28534e9a6a8fe59f21bb34722d933d15290c731 (diff) |
Verify the output shapes of (almost) all HLO opcodes in the HloVerifier.
Previously, only the elementwise ones (approximately) were verified. As part
of this change fix the newly identified brokenness. The only remaining
unverified instruction is convolution which is being addressed in cl/166654245.
PiperOrigin-RevId: 168763722
Diffstat (limited to 'tensorflow/compiler/xla/service/hlo_cost_analysis.cc')
-rw-r--r-- | tensorflow/compiler/xla/service/hlo_cost_analysis.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tensorflow/compiler/xla/service/hlo_cost_analysis.cc b/tensorflow/compiler/xla/service/hlo_cost_analysis.cc index f6b764732b..65725ca692 100644 --- a/tensorflow/compiler/xla/service/hlo_cost_analysis.cc +++ b/tensorflow/compiler/xla/service/hlo_cost_analysis.cc @@ -367,18 +367,18 @@ Status HloCostAnalysis::HandleReshape(HloInstruction* reshape) { } Status HloCostAnalysis::HandleBatchNormTraining( - HloInstruction* batchNormTraining) { + HloInstruction* batch_norm_training) { // TODO(b/62294698): Implement cost analysis for batch-norm-training. return Status::OK(); } Status HloCostAnalysis::HandleBatchNormInference( - HloInstruction* batchNormInference) { + HloInstruction* batch_norm_inference) { // TODO(b/62294698): Implement cost analysis for batch-norm-inference. return Status::OK(); } -Status HloCostAnalysis::HandleBatchNormGrad(HloInstruction* batchNormGrad) { +Status HloCostAnalysis::HandleBatchNormGrad(HloInstruction* batch_norm_grad) { // TODO(b/62294698): Implement cost analysis for batch-norm-grad. return Status::OK(); } |