MCPcopy Create free account
hub / github.com/tensorflow/tensorboard / createDataPath

Function createDataPath

tensorboard/components/tf_backend/router.ts:94–104  ·  view source on GitHub ↗
(
  route: string,
  params: URLSearchParams = new URLSearchParams()
)

Source from the content-addressed store, hash-verified

92}
93
94function createDataPath(
95 route: string,
96 params: URLSearchParams = new URLSearchParams()
97): string {
98 let relativePath = 'data' + route;
99 if (String(params)) {
100 const delimiter = route.includes('?') ? '&' : '?';
101 relativePath += delimiter + String(params);
102 }
103 return relativePath;
104}
105
106export function createSearchParam(params: QueryParams = {}): URLSearchParams {
107 const keys = Object.keys(params)

Callers 1

createRouterFunction · 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…