09 2024 档案

摘要:# mian目录currentDir=$(cd $(dirname $0); pwd)echo "currentDir = ${currentDir}" source /etc/profilesource ~/.bashrcconda activate milvus_envpython --vers 阅读全文
posted @ 2024-09-24 17:51 15375357604 阅读(3) 评论(0) 推荐(0) 编辑
摘要:# Muti-head Attention 机制的实现 from math import sqrt import torch import torch.nn class Self_Attention(nn.Module): # input : batch_size * seq_len * input 阅读全文
posted @ 2024-09-23 14:31 15375357604 阅读(12) 评论(0) 推荐(0) 编辑
摘要:import jsonimport sysimport timefrom pymilvus import connections, Collection, FieldSchema, CollectionSchema, DataType, utility, Index# 连接到 Milvusdef c 阅读全文
posted @ 2024-09-18 16:16 15375357604 阅读(94) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示