MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / TEST

Function TEST

tensorflow/compiler/xla/service/hlo_opcode_test.cc:25–27  ·  view source on GitHub ↗

This test verifies that an example HloOpcode stringifies as expected.

Source from the content-addressed store, hash-verified

23
24// This test verifies that an example HloOpcode stringifies as expected.
25TEST(HloOpcodeTest, StringifyMultiply) {
26 ASSERT_EQ("multiply", HloOpcodeString(HloOpcode::kMultiply));
27}
28
29TEST(HloOpcodeTest, OpcodeProperties) {
30 // Test counting macro.

Callers

nothing calls this directly

Calls 5

HloOpcodeStringFunction · 0.85
HloOpcodeCountFunction · 0.85
StringToHloOpcodeFunction · 0.85
HloOpcodeIsComparisonFunction · 0.85
HloOpcodeIsVariadicFunction · 0.85

Tested by

no test coverage detected