MCPcopy Index your code
hub / github.com/tensorflow/tfjs / isValidTensorName

Function isValidTensorName

tfjs-layers/src/common.ts:118–120  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

116 * @returns A Boolean indicating whether `name` is a valid tensor name.
117 */
118export function isValidTensorName(name: string): boolean {
119 return !!name.match(tensorNameRegex);
120}

Callers 3

common_test.tsFile · 0.90
getScopedTensorNameFunction · 0.85
getUniqueTensorNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…