title: How to create custom Tensorflow Graph from Binary Encoding of NN
body: <p>I would like to create a custom Tensorflow topology, specifically a custom Tensorflow topology out of a binary encoding of a neural network. I have attached a picture of what I mean by 'binary encoding of a neural network' below.</p>
  
  <p><a href="https://i.stack.imgur.com/ikuAk.png" rel="nofollow noreferrer">Binary Encoding of ANN (Source: Yao99)</a></p>
  
  <p>Unfortunately am I only familiar with how to use Tensorflow using complete layers, mostly via the Keras API, though I don't know how to create the whole topology in a custom way from scratch.</p>
  
  <p>I don't require a complete solution, but would already highly appreciate links to tutorials on how to create such custom topologies from scratch. The final translation on how to map the binary encoding to the custom graph creation I can do myself. Unfortunately am I unable to find resources for such custom topologies online. Thank you for your help!</p>