title: Is there a way to make a model that creates a mask to drop certain inputs before feeding the masked data to another network?
body: <p>This might be a question that is kind of dumb but I'm trying to construct a model that is able to filter out inputs before feeding the filtered output to another network.</p>
  <p>For example, I have an image that I would to match with a database of about 100 pictures, then I would apply the first network to do some operations that would output the top 10 pictures that is most likely to correctly match. Afterwards, I would apply a second network to rematch those top 10 pictures using a secondary network.</p>
  <pre><code>INPUT --&gt; | NETWORK 1 | --&gt; FILTERED OUTPUT --&gt; | NETWORK 2 | --&gt; FINAL OUTPUT
  </code></pre>
  <p>Wondering if there is a way to accomplish this sort of filtration behaviour where that filtered output is fed to the second model like that.</p>