autokeras/engine/node.py
Killed 2 out of 4 mutantsSurvived
Survived mutation testing. These mutants show holes in your test suite.Mutant 21
--- autokeras/engine/node.py
+++ autokeras/engine/node.py
@@ -8,7 +8,7 @@
super().__init__()
self.in_blocks = []
self.out_blocks = []
- self.shape = shape
+ self.shape = None
def add_in_block(self, hypermodel):
self.in_blocks.append(hypermodel)
Mutant 22
--- autokeras/engine/node.py
+++ autokeras/engine/node.py
@@ -20,5 +20,5 @@
raise NotImplementedError
def get_config(self):
- return {'shape': self.shape}
+ return {'XXshapeXX': self.shape}