Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/mlir/hlo/tests/
Dlhlo-legalize-select-and-scatter.mlir9 func @select_and_scatter(%arg: memref<112x112xf32>,
13 "lmhlo.select_and_scatter"(%arg, %src, %init, %result) ( {
34 // CHECK-LABEL: func @select_and_scatter(
110 // The LHLO IR of the select block of the lhlo.select_and_scatter is applied
/external/tensorflow/tensorflow/compiler/xla/service/
Ddfs_hlo_visitor_with_default.h189 Status HandleSelectAndScatter(HloInstructionPtr select_and_scatter) override { in HandleSelectAndScatter() argument
190 return DefaultAction(select_and_scatter); in HandleSelectAndScatter()
Dhlo_evaluator_typed_visitor.h1840 Status HandleSelectAndScatter(HloInstruction* select_and_scatter) override {
1841 auto operand = select_and_scatter->operand(0);
1842 auto source = select_and_scatter->operand(1);
1843 const Window& window = select_and_scatter->window();
1846 parent_->GetEvaluatedLiteralFor(select_and_scatter->operand(2));
1850 Literal result(select_and_scatter->shape());
1863 HloComputation* select = select_and_scatter->select();
1864 HloComputation* scatter = select_and_scatter->scatter();
1941 parent_->evaluated_[select_and_scatter] = std::move(result);
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dmhlo_to_lhlo_with_xla.cc584 TF_ASSIGN_OR_RETURN(auto select_and_scatter, in EmitSelectAndScatterOp()
592 select_and_scatter.window_dimensionsAttr( in EmitSelectAndScatterOp()
596 select_and_scatter.window_stridesAttr( in EmitSelectAndScatterOp()
600 select_and_scatter.paddingAttr( in EmitSelectAndScatterOp()
607 *select_and_scatter_instr->select(), &select_and_scatter.select(), in EmitSelectAndScatterOp()
610 *select_and_scatter_instr->scatter(), &select_and_scatter.scatter(), in EmitSelectAndScatterOp()
612 return select_and_scatter; in EmitSelectAndScatterOp()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_emitter.cc664 Status IrEmitter::HandleSelectAndScatter(HloInstruction* select_and_scatter) { in HandleSelectAndScatter() argument
665 CHECK_EQ(select_and_scatter->operand_count(), 3); in HandleSelectAndScatter()
666 const auto operand = select_and_scatter->operand(0); in HandleSelectAndScatter()
667 const auto source = select_and_scatter->operand(1); in HandleSelectAndScatter()
668 const auto init_value = select_and_scatter->operand(2); in HandleSelectAndScatter()
669 const Window& window = select_and_scatter->window(); in HandleSelectAndScatter()
703 select_and_scatter, /*desc=*/IrName(select_and_scatter, "init"), in HandleSelectAndScatter()
710 llvm_ir::ForLoopNest source_loops(IrName(select_and_scatter), &b_); in HandleSelectAndScatter()
729 llvm_ir::ForLoopNest window_loops(IrName(select_and_scatter, "window"), &b_); in HandleSelectAndScatter()
791 *select_and_scatter->select(), in HandleSelectAndScatter()
[all …]
Dir_emitter.h150 Status HandleSelectAndScatter(HloInstruction* select_and_scatter) override;
/external/tensorflow/tensorflow/compiler/tf2xla/python/
Dxla.py430 select_and_scatter = gen_xla_ops.xla_select_and_scatter variable
/external/tensorflow/tensorflow/compiler/tests/
Dxla_ops_test.py475 return xla.select_and_scatter(
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter_unnested.cc2179 HloInstruction* select_and_scatter) { in HandleSelectAndScatter() argument
2180 const Window& window = select_and_scatter->window(); in HandleSelectAndScatter()
2181 const auto* operand = select_and_scatter->operand(0); in HandleSelectAndScatter()
2182 const auto* source = select_and_scatter->operand(1); in HandleSelectAndScatter()
2193 TF_RETURN_IF_ERROR(AssertNonDeterminismIsOkay(select_and_scatter->name())); in HandleSelectAndScatter()
2195 TF_ASSIGN_OR_RETURN(auto input, GetMlirEmitterInput(select_and_scatter)); in HandleSelectAndScatter()
/external/tensorflow/tensorflow/compiler/mlir/hlo/include/mlir-hlo/Dialect/mhlo/IR/
Dlhlo_ops.td489 def LHLO_SelectAndScatterOp: LHLO_Op<"select_and_scatter", []>,
Dhlo_ops.td1122 def HLO_SelectAndScatterOp: HLO_Op<"select_and_scatter",
/external/tensorflow/tensorflow/compiler/mlir/xla/tests/hlo_to_lhlo_with_xla/
Dhlo_text_to_lhlo_no_opt.hlotxt70 // CHECK: "lmhlo.select_and_scatter"(%{{.*}}, %{{.*}}, %[[GLOBAL_MEMREF]], %{{.*}})
/external/tensorflow/tensorflow/compiler/mlir/xla/tests/translate/
Dexport.mlir802 %1 = "mhlo.select_and_scatter"(%arg0, %arg1, %0) ( {
Dimport.hlotxt820 // CHECK: [[RESULT:%.*]] = "mhlo.select_and_scatter"([[INPUT]], [[SOURCE]], [[INIT_VAL]]) ( {
/external/tensorflow/tensorflow/compiler/mlir/xla/tests/
Dlegalize-tf.mlir1377 // CHECK: %[[RESULT:.*]] = "mhlo.select_and_scatter"(%[[INPUT]], %[[GRAD]], %[[ZERO]]) ( {
1400 // CHECK: %[[RESULT:.*]] = "mhlo.select_and_scatter"(%[[INPUT]], %[[GRAD]], %[[ZERO]]) ( {