From 1053dcf2844a6c52487d674632066a6245cbeca4 Mon Sep 17 00:00:00 2001 From: Lutz Roeder Date: Mon, 12 Dec 2022 15:23:47 -0500 Subject: [PATCH] Update python.js --- source/python.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/source/python.js b/source/python.js index d116cdb378..d9e19bb36c 100644 --- a/source/python.js +++ b/source/python.js @@ -4270,6 +4270,17 @@ python.Execution = class { params.groups = groups; return params; }); + this.registerFunction('ops.quantized.conv_transpose1d_prepack', function(weight, bias, stride, padding, output_padding, dilation, groups) { + const params = self.invoke('__torch__.torch.classes.quantized.Conv2dPackedParamsBase', []); + params.weight = weight; + params.bias = bias; + params.stride = stride; + params.padding =padding; + params.output_padding = output_padding; + params.dilation = dilation; + params.groups = groups; + return params; + }); this.registerFunction('ops.quantized.conv_transpose2d_prepack', function(weight, bias, stride, padding, output_padding, dilation, groups) { const params = self.invoke('__torch__.torch.classes.quantized.Conv2dPackedParamsBase', []); params.weight = weight;