keras/src/backend/torch/layer.py/TorchLayer/_post_build
class TorchLayer:    def _post_build(self):
        # Do not track variables when in a stateless scope.
        # The variables are not initialized.
        if in_stateless_scope():
            return
        self._track_variables()