convolution

dragon.vm.tensorflow.nn.convolution(
  input,
  filters,
  strides=None,
  padding='VALID',
  data_format=None,
  dilations=None,
  name=None,
  **kwargs
)[source]

Apply the n-dimension convolution.

Parameters:
  • input (dragon.Tensor) – The input tensor.
  • filters (dragon.Tensor) – The weight tensor.
  • strides (Sequence[int], optional) – The stride(s) of sliding window.
  • padding (Union[{'VALID', 'SAME'}, Sequence[int]], optional) – The padding algorithm or padding size(s).
  • data_format ({'NCHW', 'NCDHW', 'NHWC', 'NDHWC'}, optional) – The optional data format.
  • dilations (Sequence[int], optional) – The rate(s) of dilated kernel.
  • name (str, optional) – The operation name.
Returns:

dragon.Tensor – The output tensor.