def test_set_weights(self): model = lambda: create_test_model(10, 10) model = FFNet(model) weights = model.get_weights() for w in weights: w = w * 2 model.set_weights(weights)
def test_get_weights(self): model = lambda: create_test_model(10, 10) model = FFNet(model) weights = model.get_weights()