码迷,mamicode.com
首页 >  
搜索关键字:depth    ( 1433个结果
webgl 深度缓冲
深度缓冲很强大,用起来很简单 开启深度缓冲 gl.enable(gl.DEPTH_TEST); 清除深度缓存 gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT); 为什么要用它呢? 因为画一些三维图形时,很难困难层级,深度缓冲就是帮你干这事的. ...
分类:Web程序   时间:2018-10-09 15:03:04    阅读次数:353
linux下,将一个目录中的图片文件合成为gif图片
# {0} 为文件所在目录位置 # {1} 为gif图片位置 convert -delay 30 -depth 8 -layers optimize -quality 80 -loop 0 {0} {1} ...
分类:系统相关   时间:2018-10-09 12:19:07    阅读次数:137
linux查看文件夹大小du命令
查看1级( max depth=1)目录的大小,并排序 ...
分类:系统相关   时间:2018-10-09 12:16:12    阅读次数:190
1*1卷积的作用
1*1卷积的主要作用有以下几点: 1、降维( dimension reductionality )。比如,一张500 * 500且厚度depth为100 的图片在20个filter上做1*1的卷积,那么结果的大小为500*500*20。 2、加入非线性。卷积层之后经过激励层,1*1的卷积在前一层的学 ...
分类:其他好文   时间:2018-10-04 17:49:41    阅读次数:231
[LeetCode&Python] Problem 559. Maximum Depth of N-ary Tree
Given a n-ary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest le ...
分类:编程语言   时间:2018-10-04 09:19:07    阅读次数:155
111. Minimum Depth of Binary Tree
一、题目 1、审题 2、分析 给出一颗二叉树,求最小高度(根节点到叶节点的最短距离)。 二、解答 1、思路: 方法一、 采用 BFS 层次遍历的方法进行遍历二叉树。同时,若出现叶子节点,则返回当前高度。 方法二、 采用递归。 另外 ...
分类:其他好文   时间:2018-10-01 17:57:34    阅读次数:160
104. Maximum Depth of Binary Tree
一、题目 1、审题 2、分析 给出一棵二叉树,输出其最大深度。 二、解答 1、思路: 方法一、 采用递归方式,输出其最大深度。 方法二、 直接在此方法上递归。 方法三、 采用 BFS 广度优先遍历,用一变量记录深度。 方法四、 利用 DFS 深度优先遍历方法; 采用两个栈,一个栈记录节点,另一个栈记 ...
分类:其他好文   时间:2018-09-30 20:42:42    阅读次数:212
python递归
def story(): print('从前有座山') story() print(111) story() RecursionError: maximum recursion depth exceeded while calling a Python object递归的错误,超过了递归的最大深度 ...
分类:编程语言   时间:2018-09-30 14:59:48    阅读次数:194
leetcode559
class Solution { public: int maxDepth(Node* root) { int depth = 0; if (root != NULL) { queue Q; Q.push(Node(root->val, root->children)); ... ...
分类:其他好文   时间:2018-09-25 21:55:25    阅读次数:134
97.二叉树的最大深度
转自 "[LeetCode] Maximum Depth of Binary Tree 二叉树的最大深度" ...
分类:其他好文   时间:2018-09-13 22:46:48    阅读次数:148
1433条   上一页 1 ... 33 34 35 36 37 ... 144 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!