# Edward is officially moving into TensorFlow

**URL:** https://discourse.edwardlib.org/t/edward-is-officially-moving-into-tensorflow/387
**Category:** General
**Created:** [October 4, 2017, 5:18pm UTC](https://discourse.edwardlib.org/t/edward-is-officially-moving-into-tensorflow/387 "2017-10-04T17:18:52Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![dustin](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.edwardlib.org/dustin/32/134_2.png) [@dustin](https://discourse.edwardlib.org/u/dustin)
#### Post date: [October 4, 2017, 5:18pm UTC](https://discourse.edwardlib.org/t/edward-is-officially-moving-into-tensorflow/387/1 "2017-10-04T17:18:52Z")

</div>

Hello everyone,

I have an exciting announcement to share: we’re officially merging Edward into TensorFlow.

Specifically, Edward will be in the contrib module for now, and to avoid redundancy with other submodules, we’ll be merging its many features across libraries with a primary focus on:

- `tf.contrib.distributions`—for distributions such as `Empirical` and properties such as supports;
- `tf.contrib.bayesflow`—for inference such as `ed.KLqp` and `ed.HMC`.

We’re not sure if _all of Edward’s features_ will be in TensorFlow just yet: for example, it’s unclear where to put Edward’s precise PPL. That said, expect that in this move many new innovations in Edward’s design will appear as we make programmable inference far more flexible, more generally compatible with hardware and distributed choices, and most importantly, more accessible by researchers and applied MLers alike.

Dustin

---

<div class="post-metadata">

### Author: ![dustin](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.edwardlib.org/dustin/32/134_2.png) [@dustin](https://discourse.edwardlib.org/u/dustin)
#### Post date: [October 5, 2017, 4:07am UTC](https://discourse.edwardlib.org/t/edward-is-officially-moving-into-tensorflow/387/2 "2017-10-05T04:07:04Z")

</div>



---

<div class="post-metadata">

### Author: ![dustin](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.edwardlib.org/dustin/32/134_2.png) [@dustin](https://discourse.edwardlib.org/u/dustin)
#### Post date: [October 5, 2017, 4:07am UTC](https://discourse.edwardlib.org/t/edward-is-officially-moving-into-tensorflow/387/3 "2017-10-05T04:07:26Z")

</div>



---

<div class="post-metadata">

### Author: ![dustin](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.edwardlib.org/dustin/32/134_2.png) [@dustin](https://discourse.edwardlib.org/u/dustin)
#### Post date: [October 5, 2017, 4:07am UTC](https://discourse.edwardlib.org/t/edward-is-officially-moving-into-tensorflow/387/4 "2017-10-05T04:07:39Z")

</div>



---

<div class="post-metadata">

### Author: ![cshenton](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.edwardlib.org/cshenton/32/99_2.png) [@cshenton](https://discourse.edwardlib.org/u/cshenton)
#### Post date: [October 6, 2017, 6:01am UTC](https://discourse.edwardlib.org/t/edward-is-officially-moving-into-tensorflow/387/5 "2017-10-06T06:01:48Z")

</div>

This is super news.

What will contributing to Edward look like under this model? Will it be like keras, where development is done on the original repo then mirrored into the tensorflow mono-repo? Or will development happen on `tensorflow/tensorflow`?

---

<div class="post-metadata">

### Author: ![dustin](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.edwardlib.org/dustin/32/134_2.png) [@dustin](https://discourse.edwardlib.org/u/dustin)
#### Post date: [October 7, 2017, 4:30am UTC](https://discourse.edwardlib.org/t/edward-is-officially-moving-into-tensorflow/387/6 "2017-10-07T04:30:28Z")

</div>

> [@cshenton](#):
>
> What will contributing to Edward look like under this model?

That’s an excellent question. I’m not sure we know yet, but we do have some ideas (see below).

> [@cshenton](#):
>
> Will it be like keras, where development is done on the original repo then mirrored into the tensorflow mono-repo?

We’re definitely not doing that.

> [@cshenton](#):
>
> Or will development happen on tensorflow/tensorflow?

This is most likely. Because we don’t know how much of Edward will go into TF, I recommend partitioning development to be either in the TF repo if it’s low-level enough; or in the Edward repo if it’s higher-level and/or more experimental-y such as graph copying. When in doubt, submit to Edward and we can think later about moving it upstream.

---

<div class="post-metadata">

### Author: ![cshenton](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.edwardlib.org/cshenton/32/99_2.png) [@cshenton](https://discourse.edwardlib.org/u/cshenton)
#### Post date: [October 7, 2017, 5:05am UTC](https://discourse.edwardlib.org/t/edward-is-officially-moving-into-tensorflow/387/7 "2017-10-07T05:05:28Z")

</div>

Cool. A more direct integration will make for thoughtful design of those low level components.

So for now I guess the approach is to PR to tensorflow if there’s already a base there (for example, for any Distribution subclasses).

---

<div class="post-metadata">

### Author: ![andresmasegosa](https://avatars.discourse-cdn.com/v4/letter/a/ba9def/32.png) [@andresmasegosa](https://discourse.edwardlib.org/u/andresmasegosa)
#### Post date: [October 30, 2017, 11:18am UTC](https://discourse.edwardlib.org/t/edward-is-officially-moving-into-tensorflow/387/8 "2017-10-30T11:18:16Z")

</div>

Hi Dustin,

any ETA?

Thanks  
Andres
