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

seo诊断报告怎么写西安seo排名

seo诊断报告怎么写,西安seo排名,wap网站开发,秦皇岛做网站优化价格AlphaFold3 protein_dataset模块 ProteinDataset 类 _get_masked_sequence 方法属于作用是为需要预测的残基生成掩码。该掩码以二进制张量形式呈现,其中 1 代表需要预测的部分,0 代表其他部分。此方法会依据多个参数来选定要掩码的残基,这些参数包含 mask_whole_chains、mas…

AlphaFold3 protein_dataset模块 ProteinDataset 类 _get_masked_sequence 方法属于作用是为需要预测的残基生成掩码。该掩码以二进制张量形式呈现,其中 1 代表需要预测的部分,0 代表其他部分。此方法会依据多个参数来选定要掩码的残基,这些参数包含 mask_whole_chainsmask_fraclower_limitupper_limitmask_sequential 以及 force_binding_sites_frac 等。

源代码:

    def _get_masked_sequence(self,data,):"""Get the mask for the residues that need to be predicted.Depending on the parameters the residues are selected as follows:- if `mask_whole_chains` is `True`, the whole chain is masked- if `mask_frac` is given, the number of residues to mask is `mask_frac` times the length of the chain,- otherwise, the number of residues to mask is sampled uniformly from the range [`lower_limit`, `upper_limit`].If `mask_sequential` is `True`, the residues are masked based on the order in the sequence, otherwise aspherical mask is applied based on the coordinates.If `force_binding_sites_frac` > 0 and `mask_whole_chains` is `False`, in the fraction of cases where a chainfrom a polymer is sampled, the center of the masked region will be forced to be in a binding site.Parameters----------data : dictan entry generated by `ProteinDataset`Returns-------chain_M : torch.Tensora `(B, L)` shaped binary tensor where 1 denotes the part that needs to be predicted and0 is everything else"""if "cdr" in data and "cdr_id" in data:chain_M = torch.zeros_like(data["cdr"])if self.mask_all_cdrs:chain_M = data["cdr"] != CDR_REVERSE["-"]else:chain_M = data["cdr"] == data["cdr_id"]else:chain_M = torch.zeros_like(data["S"])chain_index = data["chain_id"]chain_bool = data["chain_encoding_all"] == chain_indexif self.mask_whole_chains:chain_M[chain_bool] = 1else:chains = torch.unique(data["chain_encoding_all"])chain_start = torch.where(chain_bool)[0][0]chain = data["X"][chain_bool]res_i = Noneinterface = []non_masked_interface = []if len(chains) > 1 and self.force_binding_sites_frac > 0:if random.uniform(0, 1) <= self.force_binding_sites_frac:X_copy = data["X"]i_indices = (chain_bool == 0).nonzero().flatten()  # global
http://www.dtcms.com/wzjs/309505.html

相关文章:

  • 网站可以做话筒台标吗中国最新疫情最新消息
  • 做游戏交易网站有哪些内容网站推广平台有哪些
  • 学前教育网站建设四川企业seo
  • 做设计值得收藏的图片网站乔拓云智能建站系统
  • 徐州酷优网络网站优化怎么操作
  • 亚马逊虚拟主机做网站互联网营销培训课程
  • 上上海网站建设设计seo专业论坛
  • 自己做的网站验证码出不来怎么回事新产品推广策划方案
  • 微信网站模板源码推广论坛有哪些
  • 购物网站设计网站服务费一年多少钱
  • 个人网站注册优化培训学校
  • 合肥电信网站备案怎么给公司做网站
  • 网站后台 黑链接竞价托管
  • 微商城网站建设多少钱企业网络推广计划
  • 小型人力资源公司注册上海抖音seo公司
  • wordpress写表格优化资源配置
  • 网站如何做sem推广百度热门排行榜
  • 传奇私服网站开发安仁网络推广
  • 网站开发设计的完成情况b站视频推广
  • 无锡网站排名优化报价seo培训机构
  • 做粉丝网站会侵权吗好用的搜索引擎有哪些
  • 网站开发需要的语言常州网站推广
  • 太原网站关键词优化长沙网站seo诊断
  • 做游戏下载网站赚钱谷歌排名推广公司
  • 私服网站建设企业网站设计制作
  • 做网站用虚拟主机还是服务器爱站关键词搜索
  • 桐梓网站建设移动营销
  • 免费公章在线生成器贵州萝岗seo整站优化
  • 夺宝网站还可以做吗网络舆情管理
  • 如何在各大网站发布信息网站优化策略分析