Returns the main op including the group of ops that initializes all
variables, initialize local variables, initialize all tables and the restore
op name.
Args
restore_op_name
Name of the op to use to restore the graph.
Returns
The set of ops to be run as part of the main op upon the load operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2020-10-01 UTC."],[],[],null,["# tf.saved_model.main_op_with_restore\n\n\u003cbr /\u003e\n\n|--------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/saved_model/main_op_impl.py#L50-L72) |\n\nReturns a main op to init variables, tables and restore the graph. (deprecated)\n\n#### View aliases\n\n\n**Main aliases**\n\n\\`tf.saved_model.main_op.main_op_with_restore\\`\n**Compat aliases for migration**\n\nSee\n[Migration guide](https://www.tensorflow.org/guide/migrate) for\nmore details.\n\n[`tf.compat.v1.saved_model.main_op.main_op_with_restore`](/api_docs/python/tf/compat/v1/saved_model/main_op_with_restore), [`tf.compat.v1.saved_model.main_op_with_restore`](/api_docs/python/tf/compat/v1/saved_model/main_op_with_restore)\n\n\u003cbr /\u003e\n\n tf.saved_model.main_op_with_restore(\n restore_op_name\n )\n\n| **Warning:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: This function will only be available through the v1 compatibility library as tf.compat.v1.saved_model.main_op_with_restore or tf.compat.v1.saved_model.main_op.main_op_with_restore.\n\nReturns the main op including the group of ops that initializes all\nvariables, initialize local variables, initialize all tables and the restore\nop name.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|-------------------|---------------------------------------------|\n| `restore_op_name` | Name of the op to use to restore the graph. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| The set of ops to be run as part of the main op upon the load operation. ||\n\n\u003cbr /\u003e"]]