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

Function arrayBuffer

tfjs-core/src/io/http_test.ts:72–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70 return Promise.resolve(JSON.parse(body as string));
71 },
72 arrayBuffer() {
73 const buf: ArrayBuffer = (body as TypedArrays).buffer ?
74 (body as TypedArrays).buffer :
75 body as ArrayBuffer;
76 return Promise.resolve(buf);
77 },
78 headers: {get: (key: string) => contentType},
79 url: path
80 }) as unknown as Response;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…