Skip to content

Instantly share code, notes, and snippets.

@nottombrown
Created April 24, 2018 01:21
Show Gist options
  • Save nottombrown/c95160bc1a8ba0e4668018308c5818a3 to your computer and use it in GitHub Desktop.
Save nottombrown/c95160bc1a8ba0e4668018308c5818a3 to your computer and use it in GitHub Desktop.
[tensor for tensor in tensors if preds_node.op in tensor.consumers()]
@nottombrown
Copy link
Author

This is how you get inputs to a node

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment