Searched refs:while_init (Results 1 – 9 of 9) sorted by relevance
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | while_loop_simplifier.cc | 56 HloInstruction* while_init = while_op->mutable_operand(0); in TryRemoveDeadWhileParams() local 61 if (!while_init->shape().IsTuple()) { in TryRemoveDeadWhileParams() 89 const int64 tuple_size = ShapeUtil::TupleElementCount(while_init->shape()); in TryRemoveDeadWhileParams() 174 while_init->shape().tuple_shapes(old_idx)); in TryRemoveDeadWhileParams() 257 while_init->shape().tuple_shapes(old_idx), while_init, old_idx))); in TryRemoveDeadWhileParams() 298 while_init->shape().tuple_shapes(old_idx), while_init, old_idx))); in TryRemoveDeadWhileParams() 313 auto* while_init = while_op->mutable_operand(0); in TryRemoveConstantParams() local 317 if (while_init->opcode() != HloOpcode::kTuple || in TryRemoveConstantParams() 325 ShapeUtil::Compatible(while_init->shape(), while_body_root->shape())); in TryRemoveConstantParams() 328 const auto& while_shape = while_init->shape(); in TryRemoveConstantParams() [all …]
|
D | while_loop_analysis.cc | 156 auto* while_init = while_op->operand(0); in GetLoopInductionVarTupleIdx() local 157 if (while_init->opcode() != HloOpcode::kTuple) { in GetLoopInductionVarTupleIdx() 158 VLOG(2) << "While init expected to be a tuple: " << while_init->ToString(); in GetLoopInductionVarTupleIdx() 347 auto* while_init = while_op->mutable_operand(0); in ComputeWhileLoopTripCount() local 348 auto* indvar_init = while_init->mutable_operand(*indvar_tuple_idx); in ComputeWhileLoopTripCount()
|
D | hlo_memory_scheduler_test.cc | 275 HloInstruction* while_init = in TEST_F() local 280 r1f32, cond_computation, body_computation, while_init)); in TEST_F()
|
D | copy_insertion.cc | 277 HloInstruction* while_init = xla_while->mutable_operand(0); in AddCopiesForWhile() local 280 xla_while->parent()->DeepCopyInstruction(while_init, &indices_to_copy)); in AddCopiesForWhile() 281 TF_RETURN_IF_ERROR(while_init->ReplaceUseWith(xla_while, while_init_copy)); in AddCopiesForWhile()
|
D | ar_crs_combiner.cc | 123 auto init_tuples = GetAllTuples(while_instr->while_init()); in GetAllTuples()
|
D | heap_simulator_test.cc | 167 HloInstruction* while_init = in TEST_F() local 173 r1f32, cond_computation, body_computation, while_init)); in TEST_F() 197 std::vector<HloInstruction*> entry_comp_vec = {while_init, while_loop, bcast, in TEST_F()
|
D | copy_insertion_test.cc | 1753 auto while_init = builder.AddInstruction(HloInstruction::CreateTuple( in TEST_F() local 1757 loop_state_shape, condition, body, while_init)); in TEST_F()
|
D | hlo_instruction.h | 1069 HloInstruction* while_init() const;
|
D | hlo_instruction.cc | 2052 HloInstruction* HloInstruction::while_init() const { in while_init() function in xla::HloInstruction
|