Home
last modified time | relevance | path

Searched refs:dynamic_slice (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/tests/
Ddot_operation_test.cc925 auto dynamic_slice = DynamicSlice(lhs_constant, {one, zero}, {1, 6}); in XLA_TEST_F() local
930 DotGeneral(dynamic_slice, rhs_constant, dot_dnums); in XLA_TEST_F()
953 auto dynamic_slice = DynamicSlice(rhs_constant, {zero, one}, {6, 1}); in XLA_TEST_F() local
958 DotGeneral(lhs_constant, dynamic_slice, dot_dnums); in XLA_TEST_F()
983 auto dynamic_slice = DynamicSlice(lhs_constant, {zero, one}, {6, 1}); in XLA_TEST_F() local
988 DotGeneral(dynamic_slice, rhs_constant, dot_dnums); in XLA_TEST_F()
1011 auto dynamic_slice = DynamicSlice(rhs_constant, {one, zero}, {1, 6}); in XLA_TEST_F() local
1016 DotGeneral(lhs_constant, dynamic_slice, dot_dnums); in XLA_TEST_F()
1044 auto dynamic_slice = DynamicSlice(lhs_constant, {zero, one}, {6, 1}); in XLA_TEST_F() local
1049 DotGeneral(dynamic_slice, rhs_constant, dot_dnums); in XLA_TEST_F()
[all …]
/external/tensorflow/tensorflow/compiler/tests/
Dxla_ops_test.py303 xla.dynamic_slice,
315 output = xla.dynamic_slice(
328 output = xla.dynamic_slice(
/external/tensorflow/tensorflow/compiler/xla/service/
Ddfs_hlo_visitor_with_default.h151 Status HandleDynamicSlice(HloInstructionPtr dynamic_slice) override { in HandleDynamicSlice() argument
152 return DefaultAction(dynamic_slice); in HandleDynamicSlice()
Dhlo_evaluator_typed_visitor.h1456 Status HandleDynamicSlice(HloInstruction* dynamic_slice) override { in HandleDynamicSlice() argument
1457 auto operand = dynamic_slice->operand(0); in HandleDynamicSlice()
1458 auto start_indices = dynamic_slice->operand(1); in HandleDynamicSlice()
1459 auto result_shape = dynamic_slice->shape(); in HandleDynamicSlice()
1464 Cast<HloDynamicSliceInstruction>(dynamic_slice)->index_shapes(), in HandleDynamicSlice()
1465 dynamic_slice->dynamic_slice_sizes())); in HandleDynamicSlice()
1478 parent_->evaluated_[dynamic_slice], in HandleDynamicSlice()
1481 absl::MakeConstSpan(dynamic_slice->operands()).subspan(1), in HandleDynamicSlice()
1486 parent_->evaluated_[dynamic_slice], in HandleDynamicSlice()
1489 absl::MakeConstSpan(dynamic_slice->operands()).subspan(1), in HandleDynamicSlice()
[all …]
Dhlo_verifier.cc575 Status ShapeVerifier::HandleDynamicSlice(HloInstruction* dynamic_slice) { in HandleDynamicSlice() argument
577 dynamic_slice, in HandleDynamicSlice()
579 dynamic_slice->operand(0)->shape(), in HandleDynamicSlice()
580 Cast<HloDynamicSliceInstruction>(dynamic_slice)->index_shapes(), in HandleDynamicSlice()
581 dynamic_slice->dynamic_slice_sizes())); in HandleDynamicSlice()
Dalgebraic_simplifier.cc234 Status HandleDynamicSlice(HloInstruction* dynamic_slice) override;
1578 HloDynamicSliceInstruction* dynamic_slice = in OptimizeDotOfGather() local
1606 auto indices_type = dynamic_slice->operand(1)->shape().element_type(); in OptimizeDotOfGather()
1610 dynamic_slice->mutable_operand(1 + index_of_non_zero_start); in OptimizeDotOfGather()
1612 dynamic_slice->mutable_operand(1 + index_of_zero_start); in OptimizeDotOfGather()
2875 HloInstruction* dynamic_slice) { in HandleDynamicSlice() argument
2876 auto operand = dynamic_slice->mutable_operand(0); in HandleDynamicSlice()
2877 if (ShapeUtil::IsScalar(dynamic_slice->shape())) { in HandleDynamicSlice()
2878 return ReplaceInstruction(dynamic_slice, operand); in HandleDynamicSlice()
2882 if (SameShape(operand, dynamic_slice)) { in HandleDynamicSlice()
[all …]
Dhlo_cost_analysis.h96 Status HandleDynamicSlice(const HloInstruction* dynamic_slice) override;
Dhlo_cost_analysis.cc197 const HloInstruction* dynamic_slice) { in HandleDynamicSlice() argument
199 GetShapeSize(dynamic_slice->shape()) * 2; in HandleDynamicSlice()
Dhlo_verifier.h79 Status HandleDynamicSlice(HloInstruction* dynamic_slice) override;
/external/tensorflow/tensorflow/compiler/jit/
Dpartially_decluster_pass_test.cc421 Output dynamic_slice = in TEST() local
428 ops::Reshape(s.WithOpName("reshape"), reshape_input, dynamic_slice); in TEST()
430 AddToCluster({dynamic_slice.node(), reshape.node()}, "cluster_0"); in TEST()
/external/tensorflow/tensorflow/compiler/tf2xla/python/
Dxla.py305 dynamic_slice = gen_xla_ops.xla_dynamic_slice variable
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_emitter.h168 Status HandleDynamicSlice(HloInstruction* dynamic_slice) override;
Dir_emitter.cc2055 Status IrEmitter::HandleDynamicSlice(HloInstruction* dynamic_slice) { in HandleDynamicSlice() argument
2056 if (ShapeUtil::IsScalar(dynamic_slice->shape())) { in HandleDynamicSlice()
2057 TF_RETURN_IF_ERROR(EmitTargetAddressForOp(dynamic_slice)); in HandleDynamicSlice()
2058 return EmitMemcpy(*dynamic_slice->operand(0), *dynamic_slice); in HandleDynamicSlice()
2060 return DefaultAction(dynamic_slice); in HandleDynamicSlice()