Method Conv
Conv(TensorFloat, TensorFloat, TensorFloat, TensorFloat, int, Span<int>, Span<int>, Span<int>, FusableActivation)
Applies a convolution filter to an input tensor.
Declaration
public override void Conv(TensorFloat X, TensorFloat K, TensorFloat B, TensorFloat O, int groups, Span<int> strides, Span<int> pads, Span<int> dilations, FusableActivation fusedActivation)
Parameters
Type | Name | Description |
---|---|---|
TensorFloat | X | The input tensor. |
TensorFloat | K | The filter tensor. |
TensorFloat | B | The optional bias tensor. |
TensorFloat | O | The output tensor to be computed and filled. |
int | groups | The number of groups that input channels and output channels are divided into. |
Span<int> | strides | The optional stride value for each spatial dimension of the filter. |
Span<int> | pads | The optional lower and upper padding values for each spatial dimension of the filter. |
Span<int> | dilations | The optional dilation value of each spatial dimension of the filter. |
FusableActivation | fusedActivation | The fused activation type to apply after the convolution. |