(tensorName: string)
| 71 | * @return Scoped name string. |
| 72 | */ |
| 73 | export function getScopedTensorName(tensorName: string): string { |
| 74 | if (!isValidTensorName(tensorName)) { |
| 75 | throw new Error('Not a valid tensor name: \'' + tensorName + '\''); |
| 76 | } |
| 77 | return currentNameScopePrefix() + tensorName; |
| 78 | } |
| 79 | |
| 80 | /** |
| 81 | * Get unique names for Tensors and Variables. |
no test coverage detected
searching dependent graphs…