def benchmark_keras_model_sequential(self):
    model = make_sequential_keras_model()
    data = random_ops.random_uniform((10, 10))
    func = (lambda : model(data))
    func()
    assert np.equal(func(), make_keras_model()(data)).all()
    self._run(func, 30000)
def benchmark_keras_model_sequential(self):
    model = make_sequential_keras_model()
    data = random_ops.random_uniform((10, 10))
    func = (lambda : model(data))
    func()
    assert np.equal(func(), make_keras_model()(data)).all()
    self._run(func, 30000)