The <var>.center_slicing returns a tuple with slice(s) objects in the form (slice(1, -1, None), slice(1, -1, None)) for each variable.
If I got this right that is trimming the padding, no? If not: how would a node slice be different from a center slice? Shouldn't the trimming be the same? If yes: can we rename this to .trim or something like that?
The
<var>.center_slicingreturns a tuple withslice(s) objects in the form(slice(1, -1, None), slice(1, -1, None))for each variable.If I got this right that is trimming the padding, no? If not: how would a node slice be different from a center slice? Shouldn't the trimming be the same? If yes: can we rename this to
.trimor something like that?