returnn.tensor.marked_dim
¶
Marked (optional) or implicit (virtual) dims
- class returnn.tensor.marked_dim.MarkedDim(tag: Dim)[source]¶
Base class for marked dims, e.g. optional dims, or implicit (virtual) dims.
- Parameters:
tag
- class returnn.tensor.marked_dim.ImplicitDim(tag: Dim)[source]¶
Represents an implicit dim (dim tag) in
Data
. https://github.com/rwth-i6/returnn/issues/706- Parameters:
tag
- class returnn.tensor.marked_dim.ImplicitSparseDim(tag: Dim)[source]¶
Represents an implicit dim via Data.sparse_dim.
- Parameters:
tag
- class returnn.tensor.marked_dim.ImplicitDynSizeDim(tag: Dim)[source]¶
Represents an implicit dim via dynamic dim sizes. https://github.com/rwth-i6/returnn/issues/706 (For example via
CumConcatLayer
.)- Parameters:
tag