Moved test out of run_in_graph_and_eager_mode in triplet_test (#1523)
Moved test out of run_in_graph_and_eager_mode in triplet_test (#1523)

* Moved test out of run_in_graph_and_eager_mode in triplet_test

* set tolerance

Co-authored-by: gabrieldemarmiesse <40cb226a9ebd341312f9a230785978fcc568e9b6@gmail.com>
Co-authored-by: Sean Morgan <dd7410cecd300e2a2ee1db413209ad2277f252cc@gmail.com>
tensorflow/addons,tensorflow/addons,tensorflow/addons