From 637efbb57cdb16020b193751243612d77952f77c Mon Sep 17 00:00:00 2001 From: desperado Date: Tue, 11 Feb 2025 14:16:57 +0800 Subject: [PATCH] fix(lib.wx.api.d.ts): fix Tensors types --- types/wx/lib.wx.api.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/wx/lib.wx.api.d.ts b/types/wx/lib.wx.api.d.ts index 4f06848..b55e22c 100644 --- a/types/wx/lib.wx.api.d.ts +++ b/types/wx/lib.wx.api.d.ts @@ -12275,7 +12275,7 @@ session.run({ /** [Tensor](https://developers.weixin.qq.com/miniprogram/dev/api/ai/inference/Tensor.html) * * Tensor,每个 Tensor 包含 shape、data、type 字段。 */ - key: Tensor + [key: string]: Tensor } interface TextMetrics { /** 文本的宽度 */