Get function out of run_all_in_graph_and_eager_mode in gelu tests. (#1391)
Get function out of run_all_in_graph_and_eager_mode in gelu tests. (#1391)

* Get function out of run_all_in_graph_and_eager_mode in gelu tests.

* Black.
tensorflow/addons,tensorflow/addons,tensorflow/addons