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

微信公众号如何创建视频链接优化大师使用心得

微信公众号如何创建视频链接,优化大师使用心得,号卡分销系统,台湾搜索引擎AF3 rigid_utils模块Rigid类make_transform_from_reference 方法其实是实现从全局坐标到局部坐标的变换,输入的为氨基酸残基的 N(氮原子)、CA(α-碳原子)、C(羧基碳原子)三点坐标,返回一个全局坐标到局部坐标的变rigid实例。make_transform_from_reference 和 from_3_p…

AF3 rigid_utils模块Rigid类make_transform_from_reference 方法其实是实现从全局坐标到局部坐标的变换,输入的为氨基酸残基的 N(氮原子)、CA(α-碳原子)、C(羧基碳原子)三点坐标,返回一个全局坐标到局部坐标的变rigid实例。make_transform_from_reference 和 from_3_points方法都是返回一个到参考坐标系的变换rigid实例,但实现逻辑和返回值不一样。

源代码:

    @staticmethoddef make_transform_from_reference(n_xyz, ca_xyz, c_xyz, eps=1e-20):"""Returns a transformation object from reference coordinates.Note that this method does not take care of symmetries. If you provide the atom positions in the non-standard way, the N atom will end up not at [-0.527250, 1.359329, 0.0] but instead at [-0.527250, -1.359329, 0.0]. You need to take care of such cases in your code.Args:n_xyz: A [*, 3] tensor of nitrogen xyz coordinates.ca_xyz: A [*, 3] tensor of carbon alpha xyz coordinates.c_xyz: A [*, 3] tensor of carbon xyz coordinates.Returns:A transformation object. After applying the translation and rotation to the reference backbone, the coordinates will approximately equal to the input coordinates."""    translation = -1 * ca_xyzn_xyz = n_xyz + translationc_xyz = c_xyz + translationc_x, c_y, c_z = [c_xyz[..., i] for i in range(3)]norm = torch.sqrt(eps + c_x ** 2 + c_y ** 2)sin_c1 = -c_y / normcos_c1 = c_x / normzeros = sin_c1.new_zeros(sin_c1.shape)ones = sin_c1.new_ones(sin_c1.shape)c1_rots = sin_c1.new_zeros((*sin_c1.shape, 3, 3))c1_rots[..., 0, 0] = cos_c1c1_rots[..., 0, 1] = -1 * sin_c1c1_rots[..., 1, 0] = sin_c1c1_rots[..., 1, 1] = cos_c1c1_rots[..., 2, 2] = 1norm = torch.sqrt(eps + c_x ** 2 + c_y ** 2 + c_z ** 2)sin_c2 = c_z / normcos_c2 = torch.sqrt(c_x ** 2 + c_y ** 2) / normc2_rots = sin_c2.new_zeros((*sin_c2.shape, 3, 3))c2_rots[..., 0, 0] = cos_c2c2_rots[..., 0, 2] = sin_c2c2_rots[..., 1, 1] = 1c2_rots[..., 2, 0] = -1 * sin_c2c2_rots[..., 2, 2] = cos_c2c_rots = rot_matmul(c2_rots, c1_rots)n_xyz = rot_vec_mul(c_rots, n_xyz)_, n_y, n_z = [n_xyz[..., i] for i in range(3)]norm = torch.sqrt(eps + n_y ** 2 + n_z ** 2)sin_n = -n_z / normcos_n = n_y / normn_rots = sin_c2.new_zeros((*sin_c2.shape, 3, 3))n_rots[..., 0, 0] = 1n_rots[..., 1, 1] = cos_n
http://www.dtcms.com/wzjs/137468.html

相关文章:

  • 建企业版网站多久张雷明履新河南省委常委
  • 主要给人家做网站的公司西宁网站seo
  • 做网站要用服务器维护国内快速建站
  • wordpress samlseo优化工具软件
  • 在阿里巴巴做网站整合营销策略
  • 网站建设代码下载大全网站建设与管理主要学什么
  • 商业网站建设的方法营销网页设计公司
  • 广西网站建设哪家好抖音视频排名优化
  • 成都定制企业网站制作做网站的费用
  • 礼品公司怎么做网站热点事件营销案例
  • 网站如何做谷歌优化关键词seo培训
  • 网站开发好吗个人网页怎么制作
  • 海外网站seo温州seo按天扣费
  • 网站品牌建设百度权重1
  • ui做网站流程百度关键词快速排名方法
  • 电脑自带做网站的软件新手销售怎么和客户交流
  • 平台类网站建设价格表挖掘关键词的工具
  • 个人如何做问答类网站营销培训
  • 东莞建设工程公司seo优化包括哪些内容
  • wordpress 代码文章网站推广优化网址
  • 网站建设与维护期末考试题今日军事新闻头条
  • 台州本地做网站的网站推广的目的
  • 家政网站制作谷歌官网登录入口
  • 公司门户网站什么意思怎么做一个网站页面
  • 最好好看的中文字幕友链对网站seo有帮助吗
  • 企业品牌推广价格seo工程师是什么职业
  • 山西推广型网站制作精准网络推广
  • 南京列表网免费发布信息淘宝seo优化是什么
  • 全定制网站开发班级优化大师免费下载电脑版
  • 人和做网站优秀网页设计公司