File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1919
2020class CompileTFGraphJob (Job ):
2121 """
22- This Job is a wrapper around the RETURNN tool comptile_tf_graph .py
22+ This Job is a wrapper around the RETURNN tool compile_tf_graph .py
2323
2424 """
2525
@@ -47,7 +47,7 @@ def __init__(
4747 :param int train:
4848 :param int eval:
4949 :param int search:
50- :param int|None epoch: compile a specific epoch for networks that might change with every epoch
50+ :param int|tk.Variable| None epoch: compile a specific epoch for networks that might change with every epoch
5151 :param int log_verbosity: RETURNN log verbosity from 1 (least verbose) to 5 (most verbose)
5252 :param str|None device: optimize graph for cpu or gpu. If `None`, defaults to cpu for current RETURNN.
5353 For any RETURNN version before `cd4bc382`, the behavior will depend on the `device` entry in the
@@ -115,7 +115,7 @@ def run(self):
115115 if self .device is not None :
116116 args .append ("--device=%s" % self .device )
117117 if self .epoch is not None :
118- args .append ("--epoch=%d" % self .epoch )
118+ args .append ("--epoch=%d" % util . instanciate_delayed ( self .epoch ) )
119119 if self .summaries_tensor_name is not None :
120120 args .append ("--summaries_tensor_name=%s" % self .summaries_tensor_name )
121121 if self .rec_step_by_step is not None :
You can’t perform that action at this time.
0 commit comments