码迷,mamicode.com
首页 >  
搜索关键字:variable    ( 3896个结果)
常用断言关键字(rf中)
断言关键字 描述 Should Be Empty 判断是否为空,如果不为空,执行失败,示例: ${value} Set Variable Hello Should Be Empty ${value} 结果不为空 Should Start With 判断某个字符串是否以预期执行的字符串开始,如果以指定 ...
分类:其他好文   时间:2018-08-14 18:53:44    阅读次数:506
Code Signal_练习题_variableName
Correct variable names consist only of English letters, digits and underscores and they can't start with a digit. Check if the given string is a corre ...
分类:其他好文   时间:2018-08-13 19:43:13    阅读次数:126
react native使用 mobx , can't find variable:Symbol
原因是因为 mobx的版本用的最新版本..用到了 Symbol部分es6的api特性. 解决问题办法 1. 把mobx降版本到 4.3.1 . mobx-react降版本到 5.1.0 即可. 或者 2. 在.babelrc配置文件 增加 ployfill插件 "babel-plugin-trans ...
分类:其他好文   时间:2018-08-13 00:40:55    阅读次数:362
ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
在做mysql 大批量导出数据的时候,所遇到的问题如下: ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement my ...
分类:数据库   时间:2018-08-12 22:21:39    阅读次数:843
使用tf.print()打印tensor内容
使用tf.Print()打印tensor内容,这是tensorflow中调试bug的一个手段,例子如下所示: 输出结果 tf.Print()函数参数为: 参数: input_:通过这个操作的张量。 data:计算 op 时要打印的张量列表。 message:一个字符串,错误消息的前缀。 first_ ...
分类:其他好文   时间:2018-08-11 19:33:37    阅读次数:6385
OpenACC 简单的原子操作
? OpenACC 的原子操作,用到了 C++ 的一个高精度计时器 ● 代码,直接的原子操作 ● 输出结果,不知道为什么,win10中的 pgCC 不能用 ● 输出结果,WSL 中 ● 优化一下,使用分段计数 ● 输出结果,好像好一点点 ...
分类:其他好文   时间:2018-08-11 11:36:52    阅读次数:184
学习 HMM
简介 HMM 中的变量可以分为两组. 第一组是 状态变量 $\{y_i,y_2,\cdots, y_n\}$, 其中 $y_i \in \mathcal{Y}$ 表示第 $i$ 时刻的系统状态. 通常假定状态变量是隐藏的、不可观测的, 因此状态变量亦被称为 隐变量 (hidden variable) ...
分类:其他好文   时间:2018-08-11 01:29:47    阅读次数:120
Tensorflow梯度下降应用
import tensorflow as tfimport numpy as np #使用numpy生成随机点x_data = np.random.rand(100)y_data = x_data*0.1 + 0.2 #构造一个线性模型b = tf.Variable(0.0)k = tf.Varia ...
分类:其他好文   时间:2018-08-10 23:15:20    阅读次数:182
Tensorflow变量
import tensorflow as tf x = tf.Variable([1,2])a = tf.constant([3,3])#增加一个减法opsub = tf.subtract(x,a)add = tf.add(x,sub) #初始化所有变量init = tf.global_variab ...
分类:其他好文   时间:2018-08-10 23:07:33    阅读次数:177
AngularJS src ng-src的区别
angularjs 给img的src赋值的时候会在控制台报404 错误写法: <img src="http://www.tellyes.com/index/{{url}}"/> 正确写法: <img ng-src="http://www.tellyes.com/index/{{url}}"/> 在页 ...
分类:Web程序   时间:2018-08-10 10:51:33    阅读次数:164
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!