MCPcopy Index your code
hub / github.com/lutzroeder/netron / importFunction

Method importFunction

source/python.js:13906–13910  ·  view source on GitHub ↗
(qualifier, def)

Source from the content-addressed store, hash-verified

13904 this._cu.register_type(tt);
13905 }
13906 importFunction(qualifier, def) {
13907 const definitions = [def];
13908 const resolvers = [this];
13909 this._cu.define(new torch._C.QualifiedName(qualifier), /*properties=*/[], /*propResolvers=*/[], definitions, resolvers, null);
13910 }
13911 parseSourceIfNeeded(qualifier) {
13912 if (!qualifier || this._loaded_sources.has(qualifier)) {
13913 return;

Callers 1

findFunctionMethod · 0.80

Calls 1

defineMethod · 0.80

Tested by

no test coverage detected