docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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 virtual 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.

    Implements
    IBackend.Conv(TensorFloat, TensorFloat, TensorFloat, TensorFloat, int, Span<int>, Span<int>, Span<int>, FusableActivation)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)