Example #1
0
    def test_on_step_training(self):
        def example(state):
            return state

        state = 'test'
        self.assertTrue(
            callbacks.on_step_training(example).on_step_training(state) ==
            state)
 def test_on_step_training(self):
     def example(state):
         return state
     state = 'test'
     self.assertTrue(callbacks.on_step_training(example).on_step_training(state) == state)