MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / HandleReduceWindow

Method HandleReduceWindow

tensorflow/compiler/xla/service/hlo_verifier.cc:783–795  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

781}
782
783Status ShapeVerifier::HandleReduceWindow(HloInstruction* reduce_window) {
784 TF_RETURN_IF_ERROR(CheckShape(
785 reduce_window,
786 ShapeInference::InferReduceWindowShape(
787 reduce_window->operand(0)->shape(),
788 reduce_window->operand(1)->shape(), reduce_window->window(),
789 reduce_window->to_apply()->ComputeProgramShape())));
790
791 return allow_mixed_precision_
792 ? Status::OK()
793 : SameElementTypesForOperandsAndToApplyParameters(*reduce_window,
794 1);
795}
796
797Status ShapeVerifier::HandleSelectAndScatter(HloInstruction* instruction) {
798 return CheckShape(

Callers 1

VisitMethod · 0.45

Calls 6

to_applyMethod · 0.80
shapeMethod · 0.45
operandMethod · 0.45
windowMethod · 0.45
ComputeProgramShapeMethod · 0.45

Tested by

no test coverage detected