def test_getBiasesForLayer(self): target = NeuralNetwork() target.addLayer(10, 20, lambda x: x**2) tf.debugging.assert_equal(target.getBiasesForLayer(0), tf.zeros([10]))