-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #43
- Loading branch information
Showing
1 changed file
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
""" | ||
This is intended to be used for the RETURNN :func:`import_` mechanism. | ||
Common building blocks for RETURNN, | ||
such as models or networks, | ||
network definition code, | ||
datasets, etc. | ||
""" | ||
|
||
import sys as _sys | ||
|
||
# We require at least Python 3.7. | ||
# See https://github.com/rwth-i6/returnn_common/issues/43. | ||
# Current features we use: | ||
# - Our code expects that the order of dict is deterministic, or even insertion order specifically. | ||
# - Type annotations. | ||
assert _sys.version_info[:2] >= (3, 7) |