Unet改进35:添加FastKANConv2DLayer(2024最新改进方法)
本文内容:在不同位置添加FastKANConv2DLayer
目录
论文简介
1.步骤一
新建blocks/fastkan.py文件,添加如下代码:
import torch
import torch.nn as nn
class RadialBasisFunction(nn.Module):
def __init__(
self,
grid_min: float = -2.,
grid_max: float = 2.,
num_grids: int = 8,
denominator: float = None, # larger denominators lead to smoother basis
):
super().__init__()
grid
原文地址:https://blog.csdn.net/m0_51530640/article/details/142299790
免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!