Skip to content

Commit

Permalink
min_returnn_behavior_version doc
Browse files Browse the repository at this point in the history
  • Loading branch information
albertz committed Apr 14, 2023
1 parent 6182491 commit 04ed372
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nn/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ def __call__(self, x: nn.Tensor) -> nn.Tensor:
RawTensorTypes = Union[int, float, complex, numpy.number, numpy.ndarray, bool, str]
OutShapeType = Union[Set[Union[Dim, _MarkedDim]], tuple, list]

# https://returnn.readthedocs.io/en/latest/configuration_reference/behavior_version.html
# Need Dim.is_equal to be more restrictive (v16).
min_returnn_behavior_version = 16


Expand Down

0 comments on commit 04ed372

Please sign in to comment.