MCPcopy Create free account
hub / github.com/tensorflow/tfjs / nodeHTTPRequest

Function nodeHTTPRequest

tfjs-node/src/io/node_http.ts:28–32  ·  view source on GitHub ↗
(
    path: string, requestInit?: RequestInit,
    weightPathPrefix?: string)

Source from the content-addressed store, hash-verified

26 * @param weightPathPrefix A path prefix for weight loading . (Optional).
27 */
28export function nodeHTTPRequest(
29 path: string, requestInit?: RequestInit,
30 weightPathPrefix?: string): io.IOHandler {
31 return io.browserHTTPRequest(path, {requestInit, weightPathPrefix});
32}
33
34export const nodeHTTPRequestRouter = (url: string) => {
35 let isHTTP = true;

Callers 1

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