diff --git a/source/api_reference/gen_doc.sh b/source/api_reference/gen_doc.sh index d29f40dca78b1b4ef39f39afe1a3f7d82199ed56..b14ee29873c50fd011f6c48b754767ac8918252a 100755 --- a/source/api_reference/gen_doc.sh +++ b/source/api_reference/gen_doc.sh @@ -1,5 +1,5 @@ #!/bin/bash -python gen_doc.py layers --submodules control_flow device io nn ops tensor learning_rate_scheduler detection metric tensor > layers.rst +python gen_doc.py layers --submodules control_flow device io nn ops tensor learning_rate_scheduler detection metric_op tensor > layers.rst for module in data_feeder clip metrics executor initializer io nets optimizer param_attr profiler regularizer transpiler recordio_writer backward average profiler do diff --git a/source/api_reference/layers.rst b/source/api_reference/layers.rst index c62947bbf8586e34186fcdb7a53e9d6cc4b1f932..41eb2e158e7d11416e63caf1a717ee143ee83ebe 100644 --- a/source/api_reference/layers.rst +++ b/source/api_reference/layers.rst @@ -1618,8 +1618,8 @@ box_coder .. autofunction:: paddle.fluid.layers.box_coder :noindex: -metric -====== +metric_op +========= .. _api_fluid_layers_accuracy: