              softmax activation layer. Default: `-1` (The final layer of the model)
          """
          logger.debug("Appending Softmax Activation to model: (layer_index: %s)", layer_index)
          assert self._model is not None
          softmax = Activation("softmax", name="softmax")(self._model.layers[layer_index].output)
          self._model = Model(inputs=self._model.input, outputs=[softmax])
 
</s> remove         self._model.load_weights(self._model_path)
        if self._backend != "amd":
            self._model.make_predict_function()
 </s> add         with self._context:
            self._model.load_weights(self._model_path)
            if self._backend != "amd":
                self._model.make_predict_function() </s> remove         self._model = k_load_model(self._model_path, compile=False, **self._model_kwargs)
        if self._backend != "amd":
            self._model.make_predict_function()
 </s> add         with self._context:
            self._model = k_load_model(self._model_path, compile=False, **self._model_kwargs)
            if self._backend != "amd":
                self._model.make_predict_function() </s> remove         if self._backend == "amd" and batch_size is not None:
            return self._amd_predict_with_optimized_batchsizes(feed, batch_size)
        return self._model.predict(feed, verbose=0, batch_size=batch_size)
 </s> add         with self._context:
            if self._backend == "amd" and batch_size is not None:
                return self._amd_predict_with_optimized_batchsizes(feed, batch_size)
            return self._model.predict(feed, verbose=0, batch_size=batch_size) </s> remove         self._model = Model(*function())
 </s> add         with self._context:
            self._model = Model(*function()) </s> remove 
 </s> add     cpu_mode: bool, optional
        ``True`` run the model on CPU. Default: ``False``
        with self._context:
            softmax = Activation("softmax", name="softmax")(self._model.layers[layer_index].output)
            self._model = Model(inputs=self._model.input, outputs=[softmax])
              softmax activation layer. Default: `-1` (The final layer of the model)
          """
          logger.debug("Appending Softmax Activation to model: (layer_index: %s)", layer_index)
          assert self._model is not None
        with self._context:
            softmax = Activation("softmax", name="softmax")(self._model.layers[layer_index].output)
            self._model = Model(inputs=self._model.input, outputs=[softmax])
        with self._context:
            softmax = Activation("softmax", name="softmax")(self._model.layers[layer_index].output)
            self._model = Model(inputs=self._model.input, outputs=[softmax])
keep keep keep keep replace replace
 Add CPU option to BiSeNet and MTCNN
  - Add CPU option to KSession
  - MTCNN optimizations
  - Update docs for bisenet + mtcnn 
lib/model/session.py