code: def with_run_kwargs(self, **kwargs: Dict[str, Any]) -> 'Optimization':
          
          self._run_kwargs = kwargs
          return self
docs: Replace Tensorflow session run kwargs.
          Check Tensorflow session run [documentation](https://www.tensorflow.org/api_docs/python/tf/Session).
  
              :param kwargs: Dictionary of tensors as keys and numpy arrays or
                  primitive python types as values.
              :return: Optimization instance self reference.