提交 f8eedce6 编写于 作者: Q qingqing01 提交者: GitHub

Merge pull request #75 from baidu/Change-input-of-ctc_error_evaluator-in-the-test

Change input of ctc error evaluator in the test
......@@ -310,9 +310,10 @@ def ctc_error_evaluator(
:param name: Evaluator name.
:type name: None|basestring
:param input: Input Layer.
:param input: Input Layer. Should be the same as the input for ctc_layer.
:type input: LayerOutput
:param label: input label, which is a data_layer.
:param label: input label, which is a data_layer. Should be the same as the
label for ctc_layer
:type label: LayerOutput
"""
evaluator_base(name=name,
......
......@@ -41,7 +41,7 @@ tmp = fc_layer(input=x1,
ctc = ctc_layer(input=tmp,
label=y,
size=num_classes + 1)
ctc_eval = ctc_error_evaluator(input=ctc, label=y)
ctc_eval = ctc_error_evaluator(input=tmp, label=y)
settings(
batch_size=10,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册