上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 404 下一页
摘要: Lucidrains 系列项目源码解析(三十一) .\lucidrains\PaLM-pytorch\palm_pytorch\triton\layernorm.py # 从 Phil Tillet 的 Triton 的 layernorm 教程中获取的代码 # Triton - https://t 阅读全文
posted @ 2024-06-28 14:04 绝不原创的飞龙 阅读(18) 评论(0) 推荐(0) 编辑
摘要: Lucidrains 系列项目源码解析(三十四) .\lucidrains\pixel-level-contrastive-learning\pixel_level_contrastive_learning\__init__.py # 从 pixel_level_contrastive_learni 阅读全文
posted @ 2024-06-28 14:04 绝不原创的飞龙 阅读(4) 评论(0) 推荐(0) 编辑
摘要: Lucidrains 系列项目源码解析(三十五) .\lucidrains\q-transformer\q_transformer\q_robotic_transformer.py # 从 random 模块导入 random 函数 from random import random # 从 fun 阅读全文
posted @ 2024-06-28 14:03 绝不原创的飞龙 阅读(9) 评论(0) 推荐(0) 编辑
摘要: Lucidrains 系列项目源码解析(三十三) .\lucidrains\perfusion-pytorch\perfusion_pytorch\save_load.py # 导入所需的模块 from pathlib import Path import torch from torch impo 阅读全文
posted @ 2024-06-28 14:03 绝不原创的飞龙 阅读(11) 评论(0) 推荐(0) 编辑
摘要: Lucidrains 系列项目源码解析(三十七) .\lucidrains\RETRO-pytorch\retro_pytorch\training.py import numpy as np from functools import partial import json from pathli 阅读全文
posted @ 2024-06-28 14:03 绝不原创的飞龙 阅读(22) 评论(0) 推荐(0) 编辑
摘要: Lucidrains 系列项目源码解析(三十六) Data source The enwik8 data was downloaded from the Hutter prize page: http://prize.hutter1.net/ Reformer with Deepspeed for 阅读全文
posted @ 2024-06-28 14:02 绝不原创的飞龙 阅读(17) 评论(0) 推荐(0) 编辑
摘要: Lucidrains 系列项目源码解析(三十九) .\lucidrains\se3-transformer-pytorch\se3_transformer_pytorch\spherical_harmonics.py # 从 math 模块中导入 pi 和 sqrt 函数 # 从 functools 阅读全文
posted @ 2024-06-28 14:02 绝不原创的飞龙 阅读(6) 评论(0) 推荐(0) 编辑
摘要: Lucidrains 系列项目源码解析(三十二) Parti - Pytorch Implementation of Parti, Google's pure attention-based text-to-image neural network, in Pytorch. Project Page 阅读全文
posted @ 2024-06-28 14:02 绝不原创的飞龙 阅读(19) 评论(0) 推荐(0) 编辑
摘要: Lucidrains 系列项目源码解析(三十八) .\lucidrains\routing-transformer\routing_transformer\routing_transformer.py # 导入 torch 库 import torch # 导入 torch 中的神经网络模块 imp 阅读全文
posted @ 2024-06-28 14:02 绝不原创的飞龙 阅读(4) 评论(0) 推荐(0) 编辑
摘要: Lucidrains 系列项目源码解析(三十) .\lucidrains\nuwa-pytorch\nuwa_pytorch\optimizer.py # 导入 torch 库 import torch # 从 torch.optim 中导入 AdamW 和 Adam 优化器 # 分离可进行权重衰减 阅读全文
posted @ 2024-06-28 14:02 绝不原创的飞龙 阅读(5) 评论(0) 推荐(0) 编辑
上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 404 下一页