keras/src/utils/torch_utils.py/TorchModuleWrapper/_track_module_parameters
class TorchModuleWrapper:    def _track_module_parameters(self):
        from keras.src.backend.torch import Variable

        for param in self.module.parameters():
            # The Variable will reuse the raw `param`
            # and simply wrap it.
            variable = Variable(
                initializer=param, trainable=param.requires_grad
            )
            self._track_variable(variable)
        self.built = True