MCPcopy Index your code
hub / github.com/apache/tvm / LibraryProvider

Interface LibraryProvider

web/src/types.ts:32–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30 * We can use Emscripten generated js Module as a { wasmLibraryProvider: LibraryProvider }.
31 */
32export interface LibraryProvider {
33 /** The imports that can be passed to WebAssembly instance creation. */
34 imports: Record<string, any>;
35 /**
36 * Callback function to notify the provider the created instance.
37 * @param inst The created instance.
38 */
39 start: (inst: WebAssembly.Instance) => void;
40}
41
42/**
43 * Disposable classes that contains resources (WasmMemory, GPU buffer)

Callers

nothing calls this directly

Implementers 2

Environmentweb/src/environment.ts
EmccWASIweb/src/tvmjs_runtime_wasi.d.ts

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…