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 63250ec commit 1bf2fcaCopy full SHA for 1bf2fca
tfjs-layers/src/layers/convolutional.ts
@@ -105,7 +105,7 @@ export function conv1dWithBias(
105
if (bias != null && bias.shape.length !== 1) {
106
throw new ValueError(
107
`The bias for a conv1dWithBias operation should be 1, but is ` +
108
- `${kernel.shape.length} instead`);
+ `${bias.shape.length} instead`);
109
}
110
// TODO(cais): Support CAUSAL padding mode.
111
if (dataFormat === 'channelsFirst') {
0 commit comments