3

Some TensorFlow saved models contain a '^' in front of an input name. Do these names have a specific meaning? How are they different from regular inputs? For example:

node {
  name: "init"
  op: "NoOp"
  input: "^Variable/Assign"
  input: "^Variable_1/Assign"
}
Maxim
  • 52,561
  • 27
  • 155
  • 209

2 Answers2

1

This means control inputs, i.e., manually added dependent ops (more on this here). From the NodeDef protobuf message documentation:

Each input is "node:src_output" with "node" being a string name and "src_output" indicating which output tensor to use from "node". If "src_output" is 0 the ":0" suffix can be omitted. Regular inputs may optionally be followed by control inputs that have the format "^node".

Maxim
  • 52,561
  • 27
  • 155
  • 209
0

Not sure, but it is probably a mutable tensor.

Emad Barsoum
  • 476
  • 3
  • 2