Commit 9f46b021 authored by Pavithra Vijay's avatar Pavithra Vijay Committed by TensorFlower Gardener
Browse files

Add support for `add_metric` in the graph function mode.

- raise error if name is not provided for metric in eager mode.
- increased test coverage for add_metric API to include graph function use case and added a correctness test.

PiperOrigin-RevId: 234690946
parent 75a83c9a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment