提交 7f477619 编写于 作者: T tink2123

fix typo

上级 fc512a84
...@@ -152,7 +152,7 @@ def cal_predicts_accuracy(char_ops, ...@@ -152,7 +152,7 @@ def cal_predicts_accuracy(char_ops,
labels_lod, labels_lod,
is_remove_duplicate=False): is_remove_duplicate=False):
""" """
Calculate predicts accrarcy Calculate prediction accuracy
Args: Args:
char_ops: CharacterOps char_ops: CharacterOps
preds: preds result,text index preds: preds result,text index
......
...@@ -152,7 +152,7 @@ def build(config, main_prog, startup_prog, mode): ...@@ -152,7 +152,7 @@ def build(config, main_prog, startup_prog, mode):
Build a program using a model and an optimizer Build a program using a model and an optimizer
1. create a dataloader 1. create a dataloader
2. create a model 2. create a model
3. create fetchs 3. create fetches
4. create an optimizer 4. create an optimizer
Args: Args:
config(dict): config config(dict): config
...@@ -208,8 +208,8 @@ def build_export(config, main_prog, startup_prog): ...@@ -208,8 +208,8 @@ def build_export(config, main_prog, startup_prog):
Build input and output for exporting a checkpoints model to an inference model Build input and output for exporting a checkpoints model to an inference model
Args: Args:
config(dict): config config(dict): config
main_prog(): main program main_prog: main program
startup_prog(): startup program startup_prog: startup program
Returns: Returns:
feeded_var_names(list[str]): var names of input for exported inference model feeded_var_names(list[str]): var names of input for exported inference model
target_vars(list[Variable]): output vars for exported inference model target_vars(list[Variable]): output vars for exported inference model
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册