pytouch/models/slip_detect.py [20:32]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        self._model = model
        self.state_dict = state_dict
        self.defaults = defaults

        self._init_model(model, **kwargs)
        if state_dict is not None:
            self._load_state_dict()
        self._model.eval()

    def __call__(self, input):
        return self._model(input)

    def _init_model(self, model, **kwargs):
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



pytouch/models/touch_detect.py [23:35]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        self._model = model
        self.state_dict = state_dict
        self.defaults = defaults

        self._init_model(model, **kwargs)
        if state_dict is not None:
            self._load_state_dict()
        self._model.eval()

    def __call__(self, input):
        return self._model(input)

    def _init_model(self, model, **kwargs):
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



