The input tensor, rank 3 or rank 4 of shape
[batch, height, width, depth]
. If rank 3, batch of 1 is assumed.
The filter tensor, rank 3, of shape
[filterHeight, filterWidth, depth]
.
The strides of the sliding window for each dimension of the
input tensor: [strideHeight, strideWidth]
.
If strides
is a single number,
then strideHeight == strideWidth
.
The type of padding algorithm.
same
and stride 1: output will be of same size as input,
regardless of filter size.valid
: output will be smaller than input if filter is larger
than 1*1x1.Optional
dilations: number | [number, number]The dilation rates: [dilationHeight, dilationWidth]
in which we sample input values across the height and width dimensions
for atrous morphological dilation. Defaults to [1, 1]
. If dilations
is a single number, then dilationHeight == dilationWidth
. If it is
greater than 1, then all values of strides
must be 1.
Optional
dataFormat: "NHWC"Specify the data format of the input and output data. Defaults to 'NHWC'. Only 'NHWC' is currently supported. With the default format "NHWC", the data is stored in the order of: [batch, height, width, channels].
Generated using TypeDoc
Computes the grayscale dilation over the input
x
.