mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-13 17:42:42 +08:00
exposes stateful transform's window length
This commit is contained in:
@@ -121,7 +121,8 @@ class StatefulTransform(object):
|
||||
# Normal object instantiation.
|
||||
else:
|
||||
self.state = tnfm_class(*args, **kwargs)
|
||||
|
||||
# save the window_length of the state for external access.
|
||||
self.window_length = self.state.window_length
|
||||
# Create the string associated with this generator's output.
|
||||
self.namestring = tnfm_class.__name__ + hash_args(*args, **kwargs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user