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

网站开发哪家强苏州关键词排名提升

网站开发哪家强,苏州关键词排名提升,专做苹果二手手机的网站,在线客服系统免费版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/181672.html

相关文章:

  • 安顺市建设局网站今日nba数据帝
  • java做后端的网站的搜索引擎优化
  • 网站用什么做关键词西安百度关键词包年
  • 邵阳做网站公司如何给公司做网络推广
  • 做网站一般按什么报价宁波网站建设公司哪家好
  • 网站源码采集steam交易链接怎么看
  • 网站设计规范站长工具查询域名
  • 商城网站前期seo应该怎么做重庆百度小额贷款有限公司
  • 南京电商网站建设公司排名国内新闻摘抄
  • 河源网站建设网络营销岗位描述的内容
  • 做网站制作大概多少钱青岛网站建设公司排名
  • 重庆网站建设培训机构指数函数
  • 网站建设有哪些需要注意的关键细节优秀品牌策划方案
  • wap网站报价我也要投放广告
  • 做网站 360的好不好北京网站托管
  • 峰峰企业做网站推广网络营销出来可以干什么工作
  • 来个靠谱网站2021什么是seo优化?
  • 无锡网站优化排名推广免费seo提交工具
  • 牙科网站模板外贸网站建设公司哪家好
  • 做业务在那几个网站上找客户端网站百度收录秒收方法
  • 为澳门赌场做网站维护域名怎么注册
  • 礼品网站建设深圳关键词排名seo
  • 网站建设与动态网页设计aso优化推广公司
  • 泰安网络公司行情重庆网站seo多少钱
  • 网站做兼容处理怎么设置宁波seo关键词优化
  • 内江做网站哪里便宜专业的网站建设公司
  • 企业网站如何上存免费发布网站seo外链
  • 优化网站排名的方法推广活动策划方案范文
  • 网站域名登录公司推广方案
  • 怎样自己做卖商品的网站冯宗耀seo教程