Return a copy of itself. Note that this class is a "view", copying it only create another view and does not copy the underlying part of the tf.Graph. Returns: A new instance identical to the original one.
(self)
| 252 | # pylint: enable=protected-access |
| 253 | |
| 254 | def copy(self): |
| 255 | """Return a copy of itself. |
| 256 | |
| 257 | Note that this class is a "view", copying it only create another view and |
| 258 | does not copy the underlying part of the tf.Graph. |
| 259 | |
| 260 | Returns: |
| 261 | A new instance identical to the original one. |
| 262 | """ |
| 263 | return copy.copy(self) |
| 264 | |
| 265 | def _remap_default(self, remove_input_map=True, remove_output_map=True): |
| 266 | """Remap in the place the inputs and/or outputs to the default mapping. |
no outgoing calls