# Owl's Computation Graph

**URL:** <https://discuss.ocaml.org/t/owls-computation-graph/2326>\
**Category:** Learning\
**Tags:** owl\
**Created:** [July 23, 2018, 9:54am UTC](https://discuss.ocaml.org/t/owls-computation-graph/2326 "2018-07-23T09:54:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryanrhymes](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/ryanrhymes/32/143_2.png) [@ryanrhymes](https://discuss.ocaml.org/u/ryanrhymes)\
**Post date:** [July 23, 2018, 9:54am UTC](https://discuss.ocaml.org/t/owls-computation-graph/2326/1 "2018-07-23T09:54:11Z")

</div>

Here is an article on Owl’s new functor stack (with computation graph injected). The article briefly goes through the motivation, design, and impact of the recent inclusion of computation graph stack into Owl’s base library.

Feedback are welcome so I can revise the article. I hope this is useful for you.

link to the article: [http://ocaml.xyz/chapter/cgraph\_intro.html](http://ocaml.xyz/chapter/cgraph_intro.html)

---

<div class="post-metadata">

**Author:** ![UnixJunkie](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/unixjunkie/32/638_2.png) [@UnixJunkie](https://discuss.ocaml.org/u/UnixJunkie)\
**Post date:** [July 25, 2018, 2:17am UTC](https://discuss.ocaml.org/t/owls-computation-graph/2326/2 "2018-07-25T02:17:03Z")

</div>

Maybe you will be interested by this library:

> **[janestreet/incremental](https://github.com/janestreet/incremental)**
>
> A library for incremental computations. Contribute to janestreet/incremental development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![ryanrhymes](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/ryanrhymes/32/143_2.png) [@ryanrhymes](https://discuss.ocaml.org/u/ryanrhymes)\
**Post date:** [July 25, 2018, 5:35pm UTC](https://discuss.ocaml.org/t/owls-computation-graph/2326/3 "2018-07-25T17:35:22Z")

</div>

Thanks, this is relevant. Incremental is more general purpose. There were tutorials on both Incremental and Owl actually a couple of years ago in CUFP Oxford. 🙂

---

<div class="post-metadata">

**Author:** ![Yaron\_Minsky](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/yaron_minsky/32/11_2.png) [@Yaron\_Minsky](https://discuss.ocaml.org/u/Yaron_Minsky)\
**Post date:** [July 25, 2018, 9:43pm UTC](https://discuss.ocaml.org/t/owls-computation-graph/2326/4 "2018-07-25T21:43:10Z")

</div>

Well, I think it’s not strictly more general; it does tie you to one computational representation, which Owl’s computation graph doesn’t.

Indeed, one interesting application of Owl’s computation graph would be to have a mode that compiles down to Incremental.

y
