码迷,mamicode.com
首页 >  
搜索关键字:norm l1    ( 1702个结果
深度学习中python常用命令
1. print大法 2. math和numpy的区别:math只对单个元素,numpy会broadcasting。 3. 定义函数 4. Shape和Reshape 5. Normalize: x_norm = np.linalg.norm(x, ord = 2, axis = 1, keepdi ...
分类:编程语言   时间:2017-10-27 01:42:38    阅读次数:260
Leetcode 143. Reorder List
Given a singly linked list L: L0→L1→…→Ln-1→Ln,reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→… You must do this in-place without altering the nodes' values. For ...
分类:其他好文   时间:2017-10-26 20:52:38    阅读次数:140
Python习题
1.实现1-100的所有的和#方法一:for循环s1=0foriinrange(1,101):s1+=iprints1,#方法二:while循环x=1whilex<101:s1+=xx+=1prints1,2.实现1-500所有奇数的和#方法一:for循环L1=range(1,501)L2=[]L3=[]s1=0s2=0foriinL1:ifi%2==0:L2.append(i)s1+=ielse:L3.append(i)s2+=ipri..
分类:编程语言   时间:2017-10-26 15:39:26    阅读次数:265
kill 信号大全
linux kill信号列表$ kill -l1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE9) SIGKILL 10) SIGUSR1 11) SIGSEGV 12) SIGUSR2 ...
分类:其他好文   时间:2017-10-25 21:22:53    阅读次数:212
3.课后作业
public class Lei { static int x=0; //生成一个对象就自加加 public Lei() { x++; }public static void main(String[] args) { Lei L1=new Lei(); Lei L2=new Lei(); Lei ...
分类:其他好文   时间:2017-10-20 20:22:52    阅读次数:194
bzoj 4569 [Scoi2016]萌萌哒
4569: [Scoi2016]萌萌哒 Description 一个长度为n的大数,用S1S2S3...Sn表示,其中Si表示数的第i位,S1是数的最高位,告诉你一些限制条件,每个条 件表示为四个数,l1,r1,l2,r2,即两个长度相同的区间,表示子串Sl1Sl1+1Sl1+2...Sr1与Sl2 ...
分类:其他好文   时间:2017-10-20 20:20:40    阅读次数:156
The Lucas numbers
The Lucas numbers are closely related to the Fibonacci numbers and satisfy the same recursion relation Ln+1=Ln+Ln?1, but with starting values L1=1 and ...
分类:其他好文   时间:2017-10-19 09:23:59    阅读次数:173
143. Reorder List
Given a singly linked list L: L0?L1?…?Ln-1?Ln,reorder it to: L0?Ln?L1?Ln-1?L2?Ln-2?… You must do this in-place without altering the nodes' values. For ...
分类:其他好文   时间:2017-10-17 15:31:55    阅读次数:133
BZOJ 1007: [HNOI2008]水平可见直线
1007: [HNOI2008]水平可见直线 Time Limit: 1 Sec Memory Limit: 162 MB Submit: 7769 Solved: 2973 [Submit][Status][Discuss] Description 在xoy直角坐标平面上有n条直线L1,L2,.. ...
分类:其他好文   时间:2017-10-13 17:01:46    阅读次数:137
3dsmax雨伞制作
雨伞制作: 1.在上视图中创建一个样条线“圆”C1,在前视图中创建一个样条线“线”L1,选中L1的两个顶点,右键选择“Bezier角点”调整L1的弧度,用捕捉移动调整L1顶点和整个L1的位置,两个顶点一个与C1相接一个在C1中点的正上方,如图。 2.需要调整圆,为不受到L1的影响,选中L1右键选择“ ...
分类:其他好文   时间:2017-10-11 21:49:48    阅读次数:200
1702条   上一页 1 ... 79 80 81 82 83 ... 171 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!