You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This requires padding on the signal. Currently, the default is to extend the last value.
418
418
TODO: have option on this padding
419
419
420
-
The initial hidden state is of the form (hidden_state, count). count is needed just for the case with self.interval=[0, np.inf) and distributed=True. Since we are scanning through the sigal and outputing the min/max values incrementally, the distributed min function doesn't apply. If there are multiple min values along the signal, the gradient will be distributed equally across them. Otherwise it will only apply to the value that occurs earliest as we scan through the signal (i.e., practically, the last value in the trace as we process the signal backwards).
420
+
The initial hidden state is of the form (hidden_state, count). count is needed just for the case with self.interval=[0, np.inf)
421
+
and distributed=True. Since we are scanning through the sigal and outputing the min/max values incrementally,
422
+
the distributed min function doesn't apply. If there are multiple min values along the signal, the gradient will be distributed
423
+
equally across them. Otherwise it will only apply to the value that occurs earliest as we scan through the signal
424
+
(i.e., practically, the last value in the trace as we process the signal backwards).
421
425
"""
422
426
raiseNotImplementedError("_initialize_rnn_cell is not implemented")
h0: input rnn hidden state. The hidden state is either a tensor, or a tuple of tensors, depending on the interval chosen. Generally, the hidden state is of size [batch_size, rnn_dim,...]
431
+
h0: input rnn hidden state. The hidden state is either a tensor, or a tuple of tensors, depending on the interval chosen.
432
+
Generally, the hidden state is of size [batch_size, rnn_dim,...]
428
433
"""
429
434
raiseNotImplementedError("_initialize_rnn_cell is not implemented")
0 commit comments