Home
last modified time | relevance | path

Searched refs:HloOpcodeString (Results 1 – 25 of 29) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/service/
Ddepthwise_convolution_converter_test.cc60 << HloOpcodeString(root->opcode()) << " vs Reshape"; in TEST_F()
66 << HloOpcodeString(new_conv->opcode()) << " vs Convolution"; in TEST_F()
81 << HloOpcodeString(reshape_1->opcode()) << " vs Reshape"; in TEST_F()
86 << HloOpcodeString(transpose->opcode()) << " vs Transpose"; in TEST_F()
91 << HloOpcodeString(reshape_2->opcode()) << " vs Reshape"; in TEST_F()
Dhlo_opcode_test.cc26 ASSERT_EQ("multiply", HloOpcodeString(HloOpcode::kMultiply)); in TEST()
41 EXPECT_EQ(opcode, StringToHloOpcode(HloOpcodeString(opcode)).ValueOrDie()); in TEST()
Ddfs_hlo_visitor.cc31 HloOpcodeString(hlo->opcode())); in HandleElementwiseUnary()
38 HloOpcodeString(hlo->opcode())); in HandleElementwiseBinary()
Dhlo_opcode.h161 string HloOpcodeString(HloOpcode opcode);
167 return os << HloOpcodeString(opcode);
Dhlo_opcode.cc23 string HloOpcodeString(HloOpcode opcode) { in HloOpcodeString() function
Dshape_inference.cc249 HloOpcodeString(opcode), PrimitiveType_Name(shape.element_type())); in InferUnaryOpShape()
266 HloOpcodeString(opcode), PrimitiveType_Name(shape.element_type())); in InferUnaryOpShape()
279 HloOpcodeString(opcode), PrimitiveType_Name(shape.element_type())); in InferUnaryOpShape()
291 HloOpcodeString(opcode), PrimitiveType_Name(shape.element_type())); in InferUnaryOpShape()
308 HloOpcodeString(opcode), PrimitiveType_Name(shape.element_type())); in InferUnaryOpShape()
325 HloOpcodeString(opcode), PrimitiveType_Name(shape.element_type())); in InferUnaryOpShape()
352 HloOpcodeString(opcode)); in InferUnaryOpShape()
742 HloOpcodeString(operation), ShapeUtil::HumanString(lhs), in InferDegenerateDimensionBroadcastShape()
884 HloOpcodeString(operation), ShapeUtil::HumanString(lhs), in InferElementwiseBinaryOpShape()
942 HloOpcodeString(opcode), ShapeUtil::HumanStringWithLayout(lhs), in InferBinaryOpShape()
[all …]
Dflatten_call_graph.cc65 << HloOpcodeString(instruction->opcode()); in ReplaceCalledComputation()
Dhlo_verifier.cc60 expected, HloOpcodeString(hlo->opcode()), in CheckOperandCount()
440 HloOpcodeString(sort->opcode()), sort->ToString()); in HandleSort()
558 HloOpcodeString(reduce->opcode()), reduce->ToString()); in HandleReduce()
1319 << HloOpcodeString(copy_done->opcode()); in VerifyAsynchronousCopies()
1330 << HloOpcodeString(copy_start->opcode()); in VerifyAsynchronousCopies()
1584 HloOpcodeString(instruction->opcode()), in CheckElementwiseInstruction()
Dlocal_service.cc84 if (instr.opcode() == HloOpcodeString(HloOpcode::kParameter) && in ParameterMetadata()
Dhlo_instruction.cc793 << HloOpcodeString(opcode); in CreateUnary()
823 << HloOpcodeString(opcode); in CreateBinary()
840 << HloOpcodeString(opcode); in CreateTernary()
2142 << HloOpcodeString(opcode()); in to_apply()
2163 << HloOpcodeString(opcode()); in set_to_apply()
2410 StrAppend(&result, " ", HloOpcodeString(opcode()), "(", in ToStringWithCanonicalNameMap()
2609 return StrCat("%", name(), " = ", HloOpcodeString(opcode()), "(", in ToShortString()
2624 proto.set_opcode(HloOpcodeString(opcode_)); in ToProto()
2665 return HloOpcodeString(opcode()); in ToCategory()
2722 name_(HloOpcodeString(opcode)) { in HloInstruction()
[all …]
Delemental_ir_emitter.cc362 HloOpcodeString(op->opcode())); in EmitIntegerUnaryOp()
511 HloOpcodeString(op->opcode())); in EmitFloatUnaryOp()
799 HloOpcodeString(op->opcode())); in EmitComplexUnaryOp()
872 HloOpcodeString(op->opcode())); in EmitFloatBinaryOp()
1292 HloOpcodeString(op->opcode())); in EmitComplexBinaryOp()
1590 HloOpcodeString(op->opcode())); in EmitIntegerBinaryOp()
2384 HloOpcodeString(hlo->opcode())); in MakeElementGenerator()
Dpattern_matcher.h1215 EXPLAIN << "HloInstruction has opcode " << HloOpcodeString(opcode_)
1221 << HloOpcodeString(opcode_);
1229 *os << "with opcode " << HloOpcodeString(opcode_);
1231 *os << "with any opcode other than " << HloOpcodeString(opcode_);
Dhlo_graph_dumper.cc1097 if (absl::StartsWith(instr->name(), HloOpcodeString(instr->opcode()))) { in GetInstructionNodeLabel()
1101 StrCat(HloOpcodeString(instr->opcode()), in GetInstructionNodeLabel()
Dhlo_evaluator_typed_visitor.h119 "Unsupported type for %s: %s", HloOpcodeString(instruction->opcode()),
176 HloOpcodeString(hlo_instruction->opcode()));
Dbuffer_assignment.cc204 HloOpcodeString(instruction->opcode())); in GatherComputationsByAllocationType()
Dhlo_instruction_test.cc57 HloOpcodeString(hlo_instruction->opcode())); in DefaultAction()
/external/tensorflow/tensorflow/compiler/xla/tools/
Ddumped_computation_to_operation_list.cc52 HloOpcodeString(hlo->opcode()), params, in DefaultAction()
Dinteractive_graphviz.cc307 std::cout << " Opcode: " << HloOpcodeString(instr->opcode()) << std::endl; in DoInfoCommand()
Dreplay_computation.cc141 if (instruction.opcode() == HloOpcodeString(is_infeed in GetXfeedShape()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/tests/
Dcpu_vectorization_test.cc50 std::string opcode = HloOpcodeString(spec.opcode); in Name()
Dcpu_intrinsic_test.cc49 string opcode = HloOpcodeString(spec.opcode); in Name()
/external/tensorflow/tensorflow/compiler/xla/service/mlir_gpu/
Dhlo_dialect_emitter.cc87 "HLO Opcode ", HloOpcodeString(opcode), " is not supported.")); in InsertMlirOp()
Dlhlo_dialect_emitter.cc118 "LHLO opcode ", HloOpcodeString(opcode), " is not supported.")); in InsertMlirOp()
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.cc221 if (instr.opcode() == HloOpcodeString(HloOpcode::kParameter)) { in GetProgramShape()
305 if (instr.opcode() == HloOpcodeString(HloOpcode::kParameter) && in SetDynamicBinding()
567 HloOpcodeString(binop)); in BinaryOp()
2606 HloOpcodeString(HloOpcode::kGetDimensionSize)) { in BuildConstantSubGraph()
2630 *const_instr.mutable_opcode() = HloOpcodeString(HloOpcode::kConstant); in BuildConstantSubGraph()
2654 if (instr_src->opcode() == HloOpcodeString(HloOpcode::kGetDimensionSize)) { in BuildConstantSubGraph()
2768 instr.set_opcode(HloOpcodeString(opcode)); in AddInstruction()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dinstruction_fusion_test.cc415 computation.name(), HloOpcodeString(op)); in FindHloInstruction()

12