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

网站建设的公司地址独立站建站平台有哪些

网站建设的公司地址,独立站建站平台有哪些,html5 网站平台,wordpress电影主题公园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/506959.html

相关文章:

  • 快速做网站用什么软件发布软文平台
  • 做业精灵官方网站快速建站哪个平台好
  • 网站打模块山东网络优化公司排名
  • 实例网站制作教程惊艳的网站设计
  • 邱县做网站手机优化软件排行
  • 平邑做网站百度指数官网登录
  • 建影楼网站多少钱百度推广入口
  • python做网站性能微信销售平台
  • 做网站阳泉快速优化工具
  • 一定火网站建设定制谷歌seo需要做什么的
  • 陕西网站建设培训有道搜索
  • 安阳百姓网seo线下培训课程
  • 石家庄语音网站建设公司网络营销ppt
  • 做商城外贸网站站长工具的使用seo综合查询运营
  • 宝贝做网站seo站长工具推广平台
  • 企业网站开发上海韵茵信息流广告推广
  • 小型电商网站模板网络营销的特征和功能
  • 广州城乡建设网站磁力蜘蛛
  • 网站制作图片插入代码google网站入口
  • 网站设计的内容seo全网营销
  • 个人房产信息网查询网签备案信息天津seo排名扣费
  • 重庆做网站开发的公司有哪些网络推广岗位职责和任职要求
  • 生日礼物自己做网站百度关键字搜索量查询
  • 影响网站用户体验百度搜索词热度查询
  • html5网站开发demo郑州网站运营实力乐云seo
  • 建筑网建设通seo推广招聘
  • seo方案书案例一键优化软件
  • 蓬莱做网站公司网店代运营十大排名
  • h5制作软件教程安卓优化大师官方版本下载
  • 中国最大网站建设公司新闻网站排行榜