TensorFlow · Class
layers.DepthwiseConv2D
A Keras layer for 2D depthwise convolution. It applies separate kernels to input channels and can create multiple output channels per input channel.
Last updated
Syntax
tf.keras.layers.DepthwiseConv2D(kernel_size, strides=(1, 1), padding='valid', depth_multiplier=1, data_format=None, dilation_rate=(1, 1), activation=None, use_bias=True, depthwise_initializer='glorot_uniform', bias_initializer='zeros', depthwise_regularizer=None, bias_regularizer=None, activity_regularizer=None, depthwise_constraint=None, bias_constraint=None, **kwargs)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
tf.keras.layers.Layertf.nn.depthwise_conv2dtfm.vision.layers.DepthwiseConv2D