Is it possible to execute a graph using the Tensorflow C++ API that does not have labeled input (or output) nodes? As far as I know, when training my model (using skflow in python, which I then later saved as a binary protobuf), I did not have labeled input/output nodes, yet I was able to restore the model and do predictions without difficulty in Python. When using the C++ API to execute a graph, the input Vectors are pairs of Strings and Tensors, where I'm assuming the String refers to the label of an input node. From the docs:
Session::Run(const std::vector< std::pair< string, Tensor > > &inputs, const std::vector< string > &output_tensor_names, const std::vector< string > &target_node_names, std::vector< Tensor > *outputs)=0
Runs the graph with the provided input tensors and fills outputs for the endpoints specified in output_tensor_names. Runs to but does not return Tensors for the nodes in target_node_names.
Is there any way I can execute the graph without knowing the labels of my input/output nodes? Perhaps there's a way I can load the graph in Python, give the nodes labels, and then save it out as a protobuf again? Ideally I'd like to just pass in a vector which is applied to the input nodes and not have to worry about any labels.