def METHOD_NAME(
    self, model, constant_graph_def, input_data
):
    """Compares the converted Keras model."""
    expected_value = model.predict(input_data)
    actual_value = self._evaluate_graph_def(
        constant_graph_def, model.inputs, model.outputs, [input_data]
    )
    np.testing.assert_almost_equal(
        np.array([expected_value]), actual_value, 5
    )