摘要:
apply weightDecay,L2 REGULARIZATION_LOSSES tf.add_to_collection('losses', cross_entropy_mean) loss = tf.add_n(tf.get_collection('losses'), name='cross 阅读全文
摘要:
1.ignore vim svnignore svn propset -R -F svnignore svn:ignore .svn add svnignore svn ci -m xx 需要提交ignore才会生效 http://www.jianshu.com/p/3c8e4b5767fa 2.d 阅读全文
摘要:
1.luarocks 离线安装Moses 下载 Moses-Moses-1.6.1-1.zip cd Moses-Moses-1.6.1-1 Moses-Moses-1.6.1-1# luarocks make rockspec/moses-1.6.1-1.rockspec 阅读全文
摘要:
1.oc 调用swift 2.调用swift framework 碰到问题及解决方法:ios dyld: Library not loaded: @rpath/xxx.framework/xxx 之根本原因 oc调用swift framework注意点: class 需继承自NSObject,且pu 阅读全文
摘要:
碰到问题 dyld: Library not loaded: @rpath/xxx.framework/xxx Referenced from: /var/containers/Bundle/Application/0F41980D-5091-449D-AE29-5D018E3EB554/DemoO 阅读全文
摘要:
change organization name 选中project or target,最右侧Utilities面板->Project Document 修改source folder名字 -- -ProjectA.xcodeproj -ProjectA 右侧Utilities面板修改Projec 阅读全文
摘要:
MPSCNNConvolution 1.初始化时传人 UnsafePointer<Float> 时要传入w,不能是 &(w[0]).否则w其实传入失败,卷积的结果是nan或inf. 原因可能是 &(w[0])其实只引用了w[0]这一个元素,把w[0]当成整体来看.与C不同。。。 2. MPSCNNC 阅读全文
摘要:
const size_t Width = 1080; const size_t Height = 1080; const size_t Area = Width * Height; const size_t channles = 4; // rgba std::vector output(Area*channles); uint8_t *outpu... 阅读全文