码迷,mamicode.com
首页 >  
搜索关键字:NPU    ( 4242个结果
深度学习面试题25:分离卷积(separable卷积)
目录 举例 单个张量与多个卷积核的分离卷积 参考资料 举例 分离卷积就是先在深度上分别卷积,然后再进行卷积,对应代码为: import tensorflow as tf # [batch, in_height, in_width, in_channels] input =tf.reshape(tf. ...
分类:其他好文   时间:2019-08-20 10:52:05    阅读次数:66
rest framework 之解析器
一、示例 1、 2、 :只能解析 的头 :只能解析 的头 3、使用 postman 发送 json 数据测试后台是否能解析: (1)、设置为 post 方式,headers 中添加数据类型为 json (2)、body 中选择 raw,然后选择 json 类型,最后就是在空白处构建要发送的 json ...
分类:其他好文   时间:2019-08-19 23:01:56    阅读次数:81
python socket
TCP连接 简易的聊天软件 1 import socket 2 3 sk = socket.socket() # 创建socket对象 4 sk.bind(("127.0.0.1",8080))# 绑定ip端口 5 sk.listen() # 监听信息 6 conn,addr = sk.accept ...
分类:编程语言   时间:2019-08-19 19:19:56    阅读次数:87
知识点 正则
https://blog.csdn.net/dhd040805/article/details/80259993https://www.cnblogs.com/nulige/p/10260149.html先查看以上两篇文章package main import ( "fmt" "regexp" ) ...
分类:其他好文   时间:2019-08-19 19:11:35    阅读次数:67
[二分] Codefoces Anton and Making Potions
Anton and Making Potions time limit per test 4 seconds memory limit per test 256 megabytes input standard input output standard output Anton and Makin ...
分类:其他好文   时间:2019-08-19 13:10:34    阅读次数:90
命令执行
Commnd Execution 命令执行 因为没有过滤好特殊字符,导致可以执行一些恶意命令,被称作为命令执行 在操作系统中 “ & 、&& 、| 、 || ”都可以作为命令连接符使用 在linux上“ ; ” 可以代替“ | || ” &前面为假,直接执行后面的语句 && 前面为假直接报错,后面语 ...
分类:其他好文   时间:2019-08-19 09:48:10    阅读次数:158
df.were(),df.mask()
df.where(cond,other...) df.mask() df.where将series中不满足cond的那些值替换为other df.mask()结果与where()相反 df.where(cond,other...) df.mask() df.where将series中不满足cond的 ...
分类:其他好文   时间:2019-08-19 09:47:53    阅读次数:104
随便写的
/** * 解压zip文件 * * TODO 压缩包内文件有中文会出错 * * @param zipFileStream zip文件流 * @param targetPath 解压路径 * @throws IOException */ public static void unZip(Input..... ...
分类:其他好文   时间:2019-08-18 21:41:44    阅读次数:73
hdu2602Bone Collector ——动态规划(0/1背包问题)
Problem Description Many years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of bones , s ...
分类:其他好文   时间:2019-08-18 17:49:02    阅读次数:76
Python基础实例002:三数排序输出
输入三个整数 x,y,z,请把这三个数由小到大输出 代码: 结果: x: 1y: 5z: 3排序结果: 1 3 5 x: 3y: 1z: 5排序结果: 1 3 5 x: 3y: 5z: 1排序结果: 1 3 5 x: 5y: 1z: 3排序结果: 1 3 5 x: 5y: 3z: 1排序结果: 1 ...
分类:编程语言   时间:2019-08-18 17:37:56    阅读次数:66
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!