Skip to content

Instantly share code, notes, and snippets.

@adityaiitb
Created August 27, 2020 15:07
Show Gist options
  • Save adityaiitb/164cfcd8b61dfe77e17312633f7d5cbd to your computer and use it in GitHub Desktop.
Save adityaiitb/164cfcd8b61dfe77e17312633f7d5cbd to your computer and use it in GitHub Desktop.
TF GraphDef and Nodes

List of TF ops

A graph def has nodes. Every node has

  • Op: E.g. AddV2, Placeholder, Const.
  • Name (namescope): This is also the name of the output tensor(s). To refer to a specific index, you can say "name:0".
  • Inputs (optional): E.g. Const and Placeholder ops do not have any inputs.

Placeholder ops are fed from the user input? Const ops are fed from the variables folder?

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