Skip to content

Commit 7c55b81

Browse files
Copilotguschmue
andcommitted
Run prettier to fix formatting in conv-transpose.ts
Co-authored-by: guschmue <22941064+guschmue@users.noreply.github.com>
1 parent cf72464 commit 7c55b81

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

js/web/lib/wasm/jsep/webgpu/ops/conv-transpose.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export const parseConvTransposeAttributes = (attributes: Record<string, unknown>
132132
typeof attributes.autoPad == 'undefined' ? 0 : (attributes.autoPad as number)
133133
];
134134
const dilations = attributes.dilations as [number, number];
135-
const group = (attributes.group as number) ?? 1; // default to 1 per ONNX spec
135+
const group = (attributes.group as number) ?? 1; // default to 1 per ONNX spec
136136
const kernelShape = attributes.kernelShape as [number, number];
137137
const pads = attributes.pads as [number, number, number, number];
138138
const strides = attributes.strides as [number, number];
@@ -185,7 +185,9 @@ const validateInputs = (inputs: readonly TensorView[], attributes: ConvTranspose
185185
}
186186
const featureMaps = inputs[1].dims[1] * attributes.group;
187187
if (inputs[2].dims[0] !== featureMaps) {
188-
throw new Error(`invalid bias: bias size (${inputs[2].dims[0]}) must be equal to output channels (${featureMaps})`);
188+
throw new Error(
189+
`invalid bias: bias size (${inputs[2].dims[0]}) must be equal to output channels (${featureMaps})`,
190+
);
189191
}
190192
}
191193

0 commit comments

Comments
 (0)