C++
文章平均质量分 80
sherry颖
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
C++ Primer 学习笔记:类型转换
一、隐式转换1.算术转换1)条件表达式中,非布尔类型变量转化为布尔类型。0值转换为false,非0值转换为true。2)赋值语句中,右值类型转换为左值类型。举个例子:bool b = 42;int i=b;第一句语句中,42转换成true,第二句语句中,b的值true转换成1,赋给i。3)算数表达式中的类型转换分为以下几步:① 整型提升凡是类型中所有的值可以全部原创 2017-07-12 21:04:39 · 362 阅读 · 0 评论 -
TensorFlow学习笔记8:CNN搭建(layer,estimator等)
同样的,学习一下用layer等API来搭建CNN。代码来源:https://github.com/aymericdamien/TensorFlow-Examples首先,设置相关参数。from __future__ import division, print_function, absolute_import# Import MNIST datafrom tensorflow.原创 2017-11-28 19:43:35 · 2107 阅读 · 0 评论 -
TensorFlow学习笔记4:logistic回归
代码来源: https://github.com/aymericdamien/TensorFlow-Examples/'''A logistic regression learning algorithm example using TensorFlow library.This example is using the MNIST database of handwritten digi原创 2017-11-26 13:56:49 · 700 阅读 · 0 评论
分享