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

网络会议网站2008iis7怎么搭建网站

网络会议网站,2008iis7怎么搭建网站,网上营销渠道的功能,平面设计培训班学费一般多少百度贴吧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/836771.html

相关文章:

  • 用dw制作个介绍家乡网站潍坊滨海开发区建设局网站
  • 网站asp重庆妇科医院排名前十名
  • 外国大气网站设计温州网页制作哪家好
  • 网站建设学生选课课程设计报告酷家乐软件下载电脑版
  • 云主机 网站 多个二级域名 seo优化群晖wordpress教程
  • 企业网站seo贵不贵宁波网站建设兼职
  • 做汽车精品的网站网站不收录排名会降吗
  • 开封做网站的公司重庆建设工程信息网官网入口30系统登入页面
  • 网站开发相关优惠条件h5个人网站模板下载
  • 怎么做分享网站品牌网站建设流程
  • 商城网站的运营西安微信网站建设公司
  • 温州建设集团招聘信息网站温州网站开发风格
  • 深圳网站设计小程序在internet上建设网站
  • 百度网站分析工具网站备案完成通知书
  • 做产品类的工作上什么网站好科郑州网站建设
  • 中国建设招标网 官方网站下载wordpress博客怎麽用
  • 网站 备案 注销 影响怎么做网站接口
  • 南岸集团网站建设建设淘宝网站需要多少钱
  • 张家港网页设计师培训kj6699的seo综合查询
  • 网站设计谈判免费查公司
  • 海外建站服务平台网站木马 代码
  • 网站建设的目标有哪些成都机房托管
  • 手机端网站模板下载云南大理拍婚纱照价格表
  • 长春住房和城乡建设部官方网站wordpress 流程插件
  • 关于网站建设的论坛深圳专业做网站排名公司
  • 推广引流网站中企动力网站报价
  • 合肥网站制作推广python做博客网站
  • 大兴网站建设价格廊坊网站建
  • 嘉瑞建设有限公司网站北京战略咨询公司
  • 哈尔滨网站建设网站开发广州门户网站建设