Skip to content

Commit 2a48d82

Browse files
authored
Merge pull request #13 from emedvedev/prediction-name
Give a name to the prediction op
2 parents 1b5f880 + 12f7934 commit 2a48d82

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

aocr/model/model.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,8 @@ def __init__(self,
202202
self.prediction = tf.cond(
203203
tf.equal(tf.shape(trans_output)[0], 1),
204204
lambda: trans_output[0],
205-
lambda: trans_output
205+
lambda: trans_output,
206+
name='prediction',
206207
)
207208

208209
if not self.forward_only: # train

0 commit comments

Comments
 (0)