https://www.tensorflow.org/versions/r0.12/api_docs/python/array_ops.html#reshape 例子: ...
分类:
其他好文 时间:
2017-03-11 10:40:11
阅读次数:
179
题目链接:https://leetcode.com/problems/number-of-digit-one/?tab=Description 题意:求[1,n]内1的个数。 裸数位DP,好久不写都快不会写了。。这么水 ...
分类:
其他好文 时间:
2017-03-10 22:24:31
阅读次数:
207
博客园 首页 新随笔 联系 订阅 管理 博客园 首页 新随笔 联系 订阅 管理 最新随笔 最新评论 最新随笔 最新评论 最新随笔 最新评论 最新评论 RAISE_APPLICATION_ERROR用法 Posted on 2008-03-30 11:25 Caizhanshu'sBlog 阅读(34 ...
分类:
其他好文 时间:
2017-03-10 21:52:01
阅读次数:
140
Basic usage example using Jedis in a multithreaded environment You shouldn't use the same instance from different threads because you'll have strange ...
分类:
编程语言 时间:
2017-03-10 16:43:33
阅读次数:
261
其他组件使用注册过得router this.$router 注册路由是routes 而不是 routers 在单独的js 使用 vue的ajax new Vue.get 子路路由根据 父级路由的ajax结果来显示内容 <router-view :pros="data">子页面</router-vie ...
分类:
其他好文 时间:
2017-03-10 16:36:32
阅读次数:
168
作为程序员,我们虽然不像港台剧那样处处用中文混着英文说话,但是在日常的工作学习中还是会大量接触到各种英文单词和缩写。除了一些很普通的英文单词由于某种神秘不可知的原因被屡屡错读之外,计算机世界是变化的如此之快,也经常出现一些新的缩写令非英语母语的中国程序员在懵圈之后随便选个姿势去读。 我猜测,或许是为 ...
分类:
其他好文 时间:
2017-03-10 15:24:22
阅读次数:
266
紧接着上一篇文章的shader入门知识的总结,本文主要总结shader中的纹理贴图、透明度混合、顶点动画、后期特效处理等操作。如果有什么地方有错,请指出更正,谢谢。本文的代码主要来自开源书:unity入门精要 一、Unity shader中的纹理 1、简单纹理 在unity shader中,纹理的主 ...
分类:
编程语言 时间:
2017-03-10 13:07:40
阅读次数:
328
Given a binary array, find the maximum length of a contiguous subarray with equal number of 0 and 1. Example 1: Example 2: Note: The length of the giv ...
分类:
编程语言 时间:
2017-03-10 12:57:49
阅读次数:
179
1. (x) -> 'bar foo'.replace( /(..) (...)/, '$2 $1' ) -> "bfoo ar" 2. (x) -> "foo bar foo bar".match(/(bar) (foo)/, '$2 $1'); -> ["bar foo", "bar", "fo ...
分类:
其他好文 时间:
2017-03-10 12:47:00
阅读次数:
201
微信小程序 https://mp.weixin.qq.com/debug/wxadoc/dev/api/ http://www.w3cschool.cn/weixinapp/ 微信小程序 开发工具 https://mp.weixin.qq.com/debug/wxadoc/dev/devtools/ ...
分类:
微信 时间:
2017-03-10 10:44:48
阅读次数:
258