# Apply preprocessor in custom model

**URL:** <https://discuss.ray.io/t/apply-preprocessor-in-custom-model/5961>\
**Category:** RLlib\
**Created:** [April 28, 2022, 3:59pm UTC](https://discuss.ray.io/t/apply-preprocessor-in-custom-model/5961 "2022-04-28T15:59:42Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![arturn](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/arturn/32/2096_2.png) [@arturn](https://discuss.ray.io/u/arturn)\
**Post date:** [April 29, 2022, 1:28pm UTC](https://discuss.ray.io/t/apply-preprocessor-in-custom-model/5961/4 "2022-04-29T13:28:25Z")

</div>

Your model config has a `no_final_linear` option:

```auto
config["model"]["no_final_linear"] = True

```

This should not have anything to do with DQN per se.

---

_[View the full topic](https://discuss.ray.io/t/apply-preprocessor-in-custom-model/5961)._
