Update all the MG nlp tests to remove the keras_parameterized annotation.
Keras parameterized will run 3 modes: 1. v1_session is ignored when eager execution is enabled (default on in tf2). 2. v2_functional and v2_eager will run same exactly same code when the test doesn't use model.compile(run_eagerly=testing_util.should_run_eagerly()). The removal of the annotation will eliminate an import to keras private API, and also reduce 50% of test executed. PiperOrigin-RevId: 494249251
Showing
想要评论请 注册 或 登录