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

Method fetch

tfjs-react-native/src/platform_react_native.ts:135–141  ·  view source on GitHub ↗

* Makes an HTTP request. * * see @fetch docs above.

(
    path: string,
    init?: RequestInit,
    options?: tf.io.RequestDetails
  )

Source from the content-addressed store, hash-verified

133 * see @fetch docs above.
134 */
135 async fetch(
136 path: string,
137 init?: RequestInit,
138 options?: tf.io.RequestDetails
139 ) {
140 return fetch(path, init, options);
141 }
142
143 /**
144 * Encode the provided string into an array of bytes using the provided

Callers

nothing calls this directly

Calls 1

fetchFunction · 0.70

Tested by

no test coverage detected