网站首页 站内搜索

搜索结果

查询Tags标签: self,共有 3605条记录
  • PYGAME

    pip install pygame download opengl-3.1.5 from https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyopengl pip install pyglmExample: import pygame from OpenGL.GL import * from OpenGL.GLU import * from OpenGL.GL.shaders import * import ctypes import glmglsl_ve…

    2021/10/14 6:16:24 人评论 次浏览
  • PYGAME

    pip install pygame download opengl-3.1.5 from https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyopengl pip install pyglmExample: import pygame from OpenGL.GL import * from OpenGL.GLU import * from OpenGL.GL.shaders import * import ctypes import glmglsl_ve…

    2021/10/14 6:16:24 人评论 次浏览
  • Python 格式化字符串传值问题(format() 与 %s)

    目录 # 1. 引言 # 2. %s # 3. str.format() ## 3.1 位置参数 ## 3.2 关键字参数 ## 3.3 通过对象# 1. 引言官方建议,格式化字符串时使用"format"代替使用"%",因为可读性更强;但是为了读懂源码,我们需要两者都学会才行# 2. %s 一般为 2 种形…

    2021/10/14 1:14:46 人评论 次浏览
  • Python 格式化字符串传值问题(format() 与 %s)

    目录 # 1. 引言 # 2. %s # 3. str.format() ## 3.1 位置参数 ## 3.2 关键字参数 ## 3.3 通过对象# 1. 引言官方建议,格式化字符串时使用"format"代替使用"%",因为可读性更强;但是为了读懂源码,我们需要两者都学会才行# 2. %s 一般为 2 种形…

    2021/10/14 1:14:46 人评论 次浏览
  • 「数据采集」实验二

    一、作业①要求:在中国气象网给定城市集的7日天气预报,并保存在数据库。 输出信息:Gitee链接:2_1序号 地区 日期 天气信息 温度1 北京 7日(今天) 晴间多云,北部山区有阵雨或雷阵雨转晴转多云 31℃/17℃2 北京 8日(明天) 多云转晴,北部地区有分散阵雨或雷阵雨转晴…

    2021/10/13 23:14:44 人评论 次浏览
  • 「数据采集」实验二

    一、作业①要求:在中国气象网给定城市集的7日天气预报,并保存在数据库。 输出信息:Gitee链接:2_1序号 地区 日期 天气信息 温度1 北京 7日(今天) 晴间多云,北部山区有阵雨或雷阵雨转晴转多云 31℃/17℃2 北京 8日(明天) 多云转晴,北部地区有分散阵雨或雷阵雨转晴…

    2021/10/13 23:14:44 人评论 次浏览
  • Softmax:原理及python实现

    Table of Contents 1 SoftMax回归概述1.1 标签编码1.2 算法思路2 SoftMax的损失函数及其优化2.1 损失函数2.2 损失函数的求导3 Softmax实现3.1 图片数据集3.2 sklearn实现3.3 python从零实现3.4 使用pytorch的实现 SoftMax回归概述与逻辑回归类似,Softmax回归…

    2021/10/13 17:14:45 人评论 次浏览
  • Softmax:原理及python实现

    Table of Contents 1 SoftMax回归概述1.1 标签编码1.2 算法思路2 SoftMax的损失函数及其优化2.1 损失函数2.2 损失函数的求导3 Softmax实现3.1 图片数据集3.2 sklearn实现3.3 python从零实现3.4 使用pytorch的实现 SoftMax回归概述与逻辑回归类似,Softmax回归…

    2021/10/13 17:14:45 人评论 次浏览
  • 腾讯云人脸核身后端API——python

    import json, random, requests, hashlib, traceback# 配置 FACERECOGNITION_SETTING = {access_token_usl: "https://miniprogram-kyc.tencentcloudapi.com/api/oauth2/access_token",SIGN_ticket_usl: "https://miniprogram-kyc.tencentcloudapi.com/api…

    2021/10/13 17:14:17 人评论 次浏览
  • 腾讯云人脸核身后端API——python

    import json, random, requests, hashlib, traceback# 配置 FACERECOGNITION_SETTING = {access_token_usl: "https://miniprogram-kyc.tencentcloudapi.com/api/oauth2/access_token",SIGN_ticket_usl: "https://miniprogram-kyc.tencentcloudapi.com/api…

    2021/10/13 17:14:17 人评论 次浏览
  • Transformer

    seq2seq的模型很多,输入一排向量,输出一排向量,可以使用self-attention,rnn,cnn,而transformer使用的就是self-attentiontransformer结构residualnorm (Layer Norm)

    2021/10/13 6:16:19 人评论 次浏览
  • Transformer

    seq2seq的模型很多,输入一排向量,输出一排向量,可以使用self-attention,rnn,cnn,而transformer使用的就是self-attentiontransformer结构residualnorm (Layer Norm)

    2021/10/13 6:16:19 人评论 次浏览
  • Django REST framework -- Authentication & Permissions

    Authentication & Permissions https://www.django-rest-framework.org/tutorial/4-authentication-and-permissions/ 对于view需要限制用户的访问权限, 例如认证 和 许可。Currently our API doesnt have any restrictions on who can edit or delete code snippets…

    2021/10/12 23:45:30 人评论 次浏览
  • Django REST framework -- Authentication & Permissions

    Authentication & Permissions https://www.django-rest-framework.org/tutorial/4-authentication-and-permissions/ 对于view需要限制用户的访问权限, 例如认证 和 许可。Currently our API doesnt have any restrictions on who can edit or delete code snippets…

    2021/10/12 23:45:30 人评论 次浏览
  • 类的基本使用,继承;super的使用;闭包及其实例

    参考代码: # 一: class Hero:age = 18def __init__(self, name, gender, height):self.name = nameself.gender = genderself.height = heightdef print_init(self):print("姓名:{} 性别:{} 身高:{} 年纪:{}".format(self.name, self.gender, self.height…

    2021/10/12 23:15:02 人评论 次浏览
扫一扫关注最新编程教程