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

Function TEST_F

tensorflow/compiler/xla/service/hlo_module_test.cc:65–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63};
64
65TEST_F(HloModuleTest, OneComputationPostOrder) {
66 // Create a module with a single computation.
67 auto module = CreateNewVerifiedModule();
68 auto computation = module->AddEntryComputation(CreateConstantComputation());
69
70 EXPECT_THAT(module->MakeComputationPostOrder(),
71 ::testing::ElementsAre(computation));
72}
73
74TEST_F(HloModuleTest, TwoComputationsPostOrder) {
75 // Create a module with two unconnected computations.

Callers

nothing calls this directly

Calls 15

HloPrintOptionsClass · 0.85
BroadcastFunction · 0.85
MakeShapeFunction · 0.85
AddEntryComputationMethod · 0.80
has_scheduleMethod · 0.80
entry_computationMethod · 0.80
instructionsMethod · 0.80
sequenceMethod · 0.80
root_instructionMethod · 0.80

Tested by

no test coverage detected