Home
last modified time | relevance | path

Searched refs:kReshape (Results 1 – 25 of 40) sorted by relevance

12

/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dremove_trivial_reshape.cc33 CHECK(op.type == OperatorType::kReshape); in IsReshapeTrivial()
61 if (next_op->type == OperatorType::kReshape) { in IsReshapeTrivial()
90 if (reshape_op->type != OperatorType::kReshape) { in Run()
Dresolve_constant_unary.cc133 case OperatorType::kReshape: in Run()
177 if (unary_op->type == OperatorType::kReshape) { in Run()
238 } else if (unary_op->type == OperatorType::kReshape) { in Run()
Dpropagate_fake_quant_num_bits.cc108 case OperatorType::kReshape: in DoesOpBlockBackwardPropagation()
136 case OperatorType::kReshape: in DoesOpInputBlockBackwardPropagation()
Dresolve_squeeze_attributes.cc42 if (next_op->type == OperatorType::kReshape) { in Run()
Dresolve_reshape_attributes.cc34 if (reshape_op->type != OperatorType::kReshape) { in Run()
Dresolve_constant_reshape.cc31 if (base_op->type != OperatorType::kReshape) { in Run()
Dreorder_elementwise_unary.cc55 case OperatorType::kReshape: in IsMoveOperator()
Dremove_trivial_passthrough.cc120 if (passthru_op->type != OperatorType::kReshape && in RemoveTrivialPassthroughOp()
Dmerge_reshape_into_preceding_transpose.cc110 it->get(), OperatorType::kReshape); in Run()
Dmove_binary_operator_before_reshape.cc122 if (reshape_op->type != OperatorType::kReshape) { in Run()
Dresolve_tensorflow_matmul.cc167 if (previous_op && previous_op->type == OperatorType::kReshape) { in Run()
Ddequantize.cc114 if (op_outputting_array->type == OperatorType::kReshape) { in DequantizeArray()
Dreorder_reshape_transpose.cc130 OperatorType::kReshape); in Run()
Dquantize.cc51 type == OperatorType::kPadV2 || type == OperatorType::kReshape || in SupportsQuantization()
364 op.type == OperatorType::kReshape || op.type == OperatorType::kSplit || in ChooseQuantizationForOperatorOutput()
/external/tensorflow/tensorflow/compiler/xla/service/
Dreshape_mover.cc49 return instruction->opcode() == HloOpcode::kReshape || in IsReshapeOrTranspose()
125 case HloOpcode::kReshape: in AreEquivalentReshapes()
147 if (first_reshape_operand->opcode() == HloOpcode::kReshape) { in UpdateOperand()
166 case HloOpcode::kReshape: in UpdateOperand()
240 case HloOpcode::kReshape: in PerformSinkReshapeOrTranspose()
Dbfloat16_support.cc94 case HloOpcode::kReshape: in EffectiveOperandPrecisionIsOutputPrecision()
Dar_crs_combiner.cc50 case HloOpcode::kReshape: in MatchesArCrsPattern()
335 case HloOpcode::kReshape: in RewriteGraph()
Ddynamic_padder.cc76 case HloOpcode::kReshape: in ChooseIdentityValue()
Dhlo_opcode.h120 V(kReshape, "reshape", 1) \
Dwhile_loop_invariant_code_motion.cc116 case HloOpcode::kReshape: in NotWorthHoistingIndividually()
Dhlo_instruction.cc1181 absl::WrapUnique(new HloInstruction(HloOpcode::kReshape, shape)); in CreateReshape()
1460 case HloOpcode::kReshape: in CloneWithNewOperands()
1760 case HloOpcode::kReshape: in IdenticalSlowPath()
2433 opcode() == HloOpcode::kReshape) { in ToCategory()
2609 case HloOpcode::kReshape: in Visit()
2931 case HloOpcode::kReshape: in OperandElementUse()
2972 if (HloOpcode::kReshape != opcode_) { in ReshapeMerelyInsertsOrDeletes1SizedDimensions()
3144 case HloOpcode::kReshape: in CouldBeBitcast()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_instruction_fusion.cc40 hlo.opcode() == HloOpcode::kReshape || in CanBeLoopFused()
Dcpu_instruction_fusion_test.cc328 module.get(), {HloOpcode::kNegate, HloOpcode::kReshape, HloOpcode::kExp, in TEST_F()
360 {HloOpcode::kTanh, HloOpcode::kDynamicSlice, HloOpcode::kReshape, in TEST_F()
440 {HloOpcode::kNegate, HloOpcode::kReshape, HloOpcode::kParameter}); in TEST_F()
625 HloOpcode::kDynamicUpdateSlice, HloOpcode::kReshape, in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_fusible.cc177 instr.opcode() == HloOpcode::kReshape || in IsLoopFusible()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/tests/
Dcpu_fusion_test.cc210 EXPECT_EQ(HloOpcode::kReshape, in TEST_F()

12