Method Conv
Conv(TensorFloat, TensorFloat, TensorFloat, int, int[], int[], int[])
Applies a convolution filter to an input tensor.
Declaration
public TensorFloat Conv(TensorFloat X, TensorFloat K, TensorFloat B, int groups, int[] stride, int[] pad, int[] dilation)
Parameters
| Type | Name | Description |
|---|---|---|
| TensorFloat | X | The input tensor. |
| TensorFloat | K | The filter tensor. |
| TensorFloat | B | The optional bias tensor. |
| int | groups | The number of groups that input channels and output channels are divided into. |
| int[] | stride | The optional stride value for each spatial dimension of the filter. |
| int[] | pad | The optional lower and upper padding values for each spatial dimension of the filter. |
| int[] | dilation | The optional dilation value of each spatial dimension of the filter. |
Returns
| Type | Description |
|---|---|
| TensorFloat | The computed output tensor. |