r""" Called once before the decoding iterations. Parameters: inits: Argument provided by the caller. Returns: tuple: A tuple( :code:`(initial_inputs, initial_states, finished)` ). \ `initial_inputs` and `initial_states` both are a (po
(self, inits)
| 79 | """ |
| 80 | |
| 81 | def initialize(self, inits): |
| 82 | r""" |
| 83 | Called once before the decoding iterations. |
| 84 | |
| 85 | Parameters: |
| 86 | inits: Argument provided by the caller. |
| 87 | |
| 88 | Returns: |
| 89 | tuple: A tuple( :code:`(initial_inputs, initial_states, finished)` ). \ |
| 90 | `initial_inputs` and `initial_states` both are a (possibly nested \ |
| 91 | structure of) tensor variable[s], and `finished` is a tensor with \ |
| 92 | bool data type. |
| 93 | """ |
| 94 | raise NotImplementedError |
| 95 | |
| 96 | def step(self, time, inputs, states, **kwargs): |
| 97 | r""" |
no outgoing calls
no test coverage detected