Blur2DImpl
Blur2DImpl
#include <efficientvit.hpp>
Inherits from torch::nn::Module
Public Functions
| Name | |
|---|---|
| Blur2DImpl(int kernel_size =5, int stride =2, std::string padding =“same”) | |
| torch::Tensor | forward(torch::Tensor x) |
Public Attributes
| Name | |
|---|---|
| int | kernel_size |
| int | stride |
| std::string | padding |
| torch::Tensor | kernel |
Public Functions Documentation
function Blur2DImpl
inline Blur2DImpl(
int kernel_size =5,
int stride =2,
std::string padding ="same"
)function forward
inline torch::Tensor forward(
torch::Tensor x
)Public Attributes Documentation
variable kernel_size
int kernel_size;variable stride
int stride;variable padding
std::string padding;variable kernel
torch::Tensor kernel;Updated on 2026-11-13 at 20:25:39 +0000