本章目标:不管是用线性尺寸标注或形位公差标注,基础的公差标注规则需要遵守。 1.通用公差规则(Fundamental Dimension Rule) 基本工程图纸尺寸公差尺寸规则 (ASME Y14.5M-2009) 1)除参考尺寸外,所有尺寸必须有公差。 2)尺寸与公差必须全面,每个形体的所有特性 ...
分类:
其他好文 时间:
2018-07-21 21:31:06
阅读次数:
578
In a two-dimensional plane there are two line belts, there are two segments AB and CD, lxhgww's speed on AB is P and on CD is Q, he can move with the ...
分类:
其他好文 时间:
2018-07-21 15:00:21
阅读次数:
184
今天在使用tensoflow跑cifar10的CNN分类时候,download一个源码,但是报错 TypeError: Failed to convert object of type <class 'list'> to Tensor. Contents: [-1, Dimension(4608)] ...
分类:
其他好文 时间:
2018-07-17 10:29:54
阅读次数:
1562
1.tensorflow有一种kernels名为BinaryOp(二元操作),像加法、减法、哈达玛积这种都属于二元操作(都是简单的数学操作),所有的二元操作逻辑都是相同的,唯独中间的运算符不同,在实现上将这个操作符作为模板参数传入,本质也是调用的Eigen的API(但是像矩阵乘这样的感觉也是二元操作 ...
分类:
其他好文 时间:
2018-07-11 19:58:37
阅读次数:
246
1.获取LruCache对象 2.根据key来获取Bitmap 3.增加bitmap到缓存 4.通过给定资源来源,和显示的imageView来加载图片 5.BitmapWorkerTask继承AsyncTask,实现异步加载图片 ...
分类:
其他好文 时间:
2018-07-10 16:47:34
阅读次数:
216
tf.nn.nce_loss是word2vec的skip-gram模型的负例采样方式的函数,下面分析其源代码。 1 上下文代码 其中, train_inputs中的就是中心词,train_label中的就是语料库中该中心词在滑动窗口内的上下文词。 所以,train_inputs中会有连续n-1(n为 ...
分类:
其他好文 时间:
2018-07-09 17:17:32
阅读次数:
621
D - FatMouse and Cheese FatMouse has stored some cheese in a city. The city can be considered as a square grid of dimension n: each grid location is l ...
分类:
其他好文 时间:
2018-07-07 22:40:01
阅读次数:
232
/* * About this example * * 1. Start with initializing LEDC module: * a. Set the timer of LEDC first, this determines the frequency * and resolution o ...
分类:
其他好文 时间:
2018-07-05 13:27:55
阅读次数:
377
In MATLAB, there is a very useful function called 'reshape', which can reshape a matrix into a new one with different size but keep its original data. ...
分类:
其他好文 时间:
2018-07-03 22:32:20
阅读次数:
170
This enum describes the types of connection that can be used between signals and slots. In particular, it determines whether a particular signal is de ...
分类:
其他好文 时间:
2018-06-27 13:57:34
阅读次数:
188