Searched refs:module_exists (Results 1 – 4 of 4) sorted by relevance
3153 def module_exists(gm: GraphModule, path: str) -> bool: function3165 self.assertTrue(module_exists(a, "net_b.net_c.dropout"))3171 self.assertTrue(module_exists(a, "net_b.net_c.conv"))3183 self.assertFalse(module_exists(a, "net_b.net_c.conv"))3244 self.assertFalse(module_exists(a, "net_b.embedding"))3245 self.assertFalse(module_exists(a, "net_b.net_c.embedding"))3246 self.assertFalse(module_exists(a, "net_b.net_c.rnn"))3247 self.assertFalse(module_exists(a, "batch_norm_2d"))
57861 ffffffc08113f130 d module_exists.this_mod
62648 ffffffc0812528d8 d module_exists.this_mod
117989 ffffffff82635db8 d module_exists.this_mod