Get tensor name given node name and output slot index. Args: node_name: Name of the node that outputs the tensor, as a string. output_slot: Output slot index of the tensor, as an integer. Returns: Name of the tensor, as a string.
(node_name, output_slot)
| 169 | |
| 170 | |
| 171 | def _get_tensor_name(node_name, output_slot): |
| 172 | """Get tensor name given node name and output slot index. |
| 173 | |
| 174 | Args: |
| 175 | node_name: Name of the node that outputs the tensor, as a string. |
| 176 | output_slot: Output slot index of the tensor, as an integer. |
| 177 | |
| 178 | Returns: |
| 179 | Name of the tensor, as a string. |
| 180 | """ |
| 181 | |
| 182 | return "%s:%d" % (node_name, output_slot) |
| 183 | |
| 184 | |
| 185 | def _get_tensor_watch_key(node_name, output_slot, debug_op): |
no outgoing calls
no test coverage detected