MCPcopy
hub / github.com/tensorflow/tfjs / conv1d

Function conv1d

tfjs-layers/src/layers/convolutional.ts:141–149  ·  view source on GitHub ↗
(
    x: Tensor, kernel: Tensor, strides = 1, padding = 'valid',
    dataFormat?: DataFormat, dilationRate = 1)

Source from the content-addressed store, hash-verified

139 * @throws ValueError, if `x`, `kernel` or `bias` is not of the correct rank.
140 */
141export function conv1d(
142 x: Tensor, kernel: Tensor, strides = 1, padding = 'valid',
143 dataFormat?: DataFormat, dilationRate = 1): Tensor {
144 return tidy(() => {
145 checkDataFormat(dataFormat);
146 return conv1dWithBias(
147 x, kernel, null, strides, padding, dataFormat, dilationRate);
148 });
149}
150
151/**
152 * 2D Convolution

Callers 1

Calls 3

tidyFunction · 0.90
checkDataFormatFunction · 0.90
conv1dWithBiasFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…