• Parameters

    • inputShape: [number, number, number, number]

      Input tensor shape is of the following dimensions: [batch, height, width, inChannels].

    • filterShape: [number, number, number]

      The filter shape is of the following dimensions: [filterHeight, filterWidth, depth].

    • strides: number | [number, number]

      The strides of the sliding window for each dimension of the input tensor: [strideHeight, strideWidth]. If strides is a single number, then strideHeight == strideWidth.

    • pad: number | "same" | "valid"

      The type of padding algorithm.

    • dataFormat: "NHWC"

      The data format of the input and output data. Defaults to 'NHWC'.

    • dilations: number | [number, number]

      The dilation rates: [dilationHeight, dilationWidth]. Defaults to [1, 1]. If dilations is a single number, then dilationHeight == dilationWidth.

    Returns Conv2DInfo

Generated using TypeDoc