Created by: qingqing01
PR types
Function optimization
PR changes
APIs
Describe
- Unify the metrics implementation between low-level and high-level API.
- Change function name
add_metric_op
in Metric tocompute
. - Return scalar, not [scalar] in
update()
andaccumulate()
ofAccuracy
. - Refine and add comments for sub-function in
Accuracy
.- Add comments for
compute
,update
,reset
.. - Add standalone usage and usage with
Model
API for Metrics
- Add comments for
- Add unit testing in
python/paddle/tests