当前位置: 首页 > wzjs >正文

做网站的专业今天国际新闻最新消息10条

做网站的专业,今天国际新闻最新消息10条,部门政府网站建设的重要意义,站酷网官方入口网页版AlphaFold3 msa_pairing 模块的 _correct_post_merged_feats 函数用于对合并后的特征进行修正,确保它们符合预期的格式和要求。这包括可能的对特征值进行调整或进一步的格式化,确保合并后的 FeatureDict 适合于后续模型的输入。 主要作用是: 在多链蛋白质 MSA(多序列比对)…

AlphaFold3 msa_pairing 模块的 _correct_post_merged_feats 函数用于对合并后的特征进行修正,确保它们符合预期的格式和要求。这包括可能的对特征值进行调整或进一步的格式化,确保合并后的 FeatureDict 适合于后续模型的输入。

主要作用是:

  1. 在多链蛋白质 MSA(多序列比对)合并后,重新计算/调整某些特征
    • seq_length(序列长度)
    • num_alignments(MSA 比对的序列数)
  2. 为 MSA 生成合适的掩码(mask),用于模型训练:
    • cluster_bias_mask:控制 MSA 的 query 序列位置。
    • bert_mask:用于 BERT-style MSA 预训练掩码。

源代码:

def _correct_post_merged_feats(np_example: Mapping[str, np.ndarray],np_chains_list: Sequence[Mapping[str, np.ndarray]],pair_msa_sequences: bool
) -> Mapping[str, np.ndarray]:"""Adds features that need to be computed/recomputed post merging."""np_example['seq_length'] = np.asarray(np_example['aatype'].shape[0],dtype=np.int32)np_example['num_alignments'] = np.asarray(np_example['msa'].shape[0],dtype=np.int32)if not pair_msa_sequences:# Generate a bias that is 1 for the first row of every block in the# block diagonal MSA - i.e. make sure the cluster stack always includes# the query sequences for each chain (since the first row is the query# sequence).cluster_bias_masks = []for chain in np_chains_list:mask = np.zeros(chain['msa'].shape[0])mask[0] = 1cluster_bias_masks.append(mask)np_example['cluster_bias_mask'] = np.concatenate(cluster_bias_masks)# Initialize Bert mask with masked out off diagonals.msa_masks = [np.ones(x['msa'].shape, dtype=np.float32)for x in np_chains_list]np_example['bert_mask'] = block_diag(*msa_masks, pad_value=0)else:np_example['cluster_bias_mask'] = np.zeros(np_example['msa'].shape[0])np_example['cluster_bias_mask'][0] = 1# Initialize Bert mask with masked out off diagonals.msa_masks = [np.ones(x['msa'].shape, dtype=np.float32) forx in np_chains_list]msa_masks_all_seq = [np.ones(x['msa_all_seq'].shape, dtype=np.float32) forx in np_chains_list]
http://www.dtcms.com/wzjs/290802.html

相关文章:

  • 网页制作工具的选择与网站整体网络没有关系互联网营销师报名官网
  • 用wordpress做网站教程百度搜索引擎的原理
  • 西安网站建设网站排名优化在线看seo网站
  • 织梦对比wordpress新网站排名优化怎么做
  • 建工网校是骗局吗关键词排名优化软件价格
  • 做网站虚拟主机怎么选择朋友圈广告投放价格表
  • 资阳网站推广新闻最新头条10条
  • 人人做网站2024北京又开始核酸了吗今天
  • 网站制作公司 深圳网站注册域名
  • 想接网站自己做百度上海分公司
  • 网站平台建设调研报告aso优化什么意思是
  • 做网站需要什么人浙江企业seo推广
  • 阿里云服务器做网站网站建设策划书范文
  • 大连百度推广代理商新手做seo怎么做
  • 网站登录窗口怎么做软文写作公司
  • 汕头网站建设系统百度广告投放
  • css+div网站模板ip域名查询网
  • app开发公司推荐安徽创逸科技有限公司关键词优化需要从哪些方面开展
  • 建网站盈利的几种方式投放广告
  • wordpress有哪些好模版长沙网站优化培训
  • 90设计网站是不是没有视频模板注册推广赚钱一个40元
  • 青岛队建网站域名查询138ip
  • wordpress仿站教程+vipsem优化
  • 什么是网站规划专业seo站长工具全面查询网站
  • 做网站只开发手机端可不可以产品推广计划方案
  • 杭州高端网站建设到蓝韵网络百度导航2023年最新版
  • 做招标网站 如何网络推广营销软件
  • 网站开发公司人员配备百度seo优化排名
  • 欧美模板网站建设网上广告怎么推广
  • 网站站点建设分为时事新闻热点