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

Method fetch

tfjs-core/src/platforms/platform.ts:32–32  ·  view source on GitHub ↗

* Makes an HTTP request. * @param path The URL path to make a request to * @param init The request init. See init here: * https://developer.mozilla.org/en-US/docs/Web/API/Request/Request

(path: string, requestInits?: RequestInit, options?: RequestDetails)

Source from the content-addressed store, hash-verified

30 * https://developer.mozilla.org/en-US/docs/Web/API/Request/Request
31 */
32 fetch(path: string, requestInits?: RequestInit, options?: RequestDetails):
33 Promise<Response>;
34
35 /**

Callers 10

fetchFunction · 0.65
util_test.tsFile · 0.65
saveMethod · 0.65
loadModelJSONMethod · 0.65
fetchMethod · 0.65
loadDictionaryFunction · 0.65

Implementers 3

PlatformReactNativetfjs-react-native/src/platform_react_n
PlatformBrowsertfjs-core/src/platforms/platform_brows
PlatformNodetfjs-core/src/platforms/platform_node.

Calls

no outgoing calls

Tested by

no test coverage detected