We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c60cdb commit 4732d4bCopy full SHA for 4732d4b
src/embedding.ts
@@ -49,7 +49,7 @@ export class EmbeddingPipeline {
49
// 2. Get json stored in the vm's metadata function
50
const fgetMetadata = this.vm.getFunction("_metadata");
51
const ret_value = fgetMetadata();
52
- const metadataStr = this.tvm.detachFromCurrentScope(ret_value).toString();
+ const metadataStr = ret_value.toString();
53
const metadata = JSON.parse(metadataStr);
54
55
// 3. Load parameters by name
0 commit comments