(self, distribution)
| 118 | strategy_combinations.one_device_strategy, |
| 119 | ],)) |
| 120 | def test_pruning(self, distribution): |
| 121 | with distribution.scope(): |
| 122 | directory = self.get_temp_dir() |
| 123 | model = TestModel() |
| 124 | optimizer = tf_keras.optimizers.SGD() |
| 125 | pruning = actions.PruningAction(directory, model, optimizer) |
| 126 | |
| 127 | pruning({}) |
| 128 | |
| 129 | |
| 130 | if __name__ == '__main__': |
nothing calls this directly
no test coverage detected