Computes the gradient of morphological 2-D dilation with respect to the filter.
tf.raw_ops.Dilation2DBackpropFilter( input, filter, out_backprop, strides, rates, padding, name=None )
Args | |
---|---|
input | A Tensor . Must be one of the following types: float32 , float64 , int32 , uint8 , int16 , int8 , int64 , bfloat16 , uint16 , half , uint32 , uint64 . 4-D with shape [batch, in_height, in_width, depth] . |
filter | A Tensor . Must have the same type as input . 3-D with shape [filter_height, filter_width, depth] . |
out_backprop | A Tensor . Must have the same type as input . 4-D with shape [batch, out_height, out_width, depth] . |
strides | A list of ints that has length >= 4 . 1-D of length 4. The stride of the sliding window for each dimension of the input tensor. Must be: [1, stride_height, stride_width, 1] . |
rates | A list of ints that has length >= 4 . 1-D of length 4. The input stride for atrous morphological dilation. Must be: [1, rate_height, rate_width, 1] . |
padding | A string from: "SAME", "VALID" . The type of padding algorithm to use. |
name | A name for the operation (optional). |
Returns | |
---|---|
A Tensor . Has the same type as input . |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.3/api_docs/python/tf/raw_ops/Dilation2DBackpropFilter