1 import tensorflow as tf 2 import os 3 os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' 4 5 '''创建一个常量op''' 6 m1 = tf.constant([[3, 3]]) 7 '''创建一个常量op''' 8 m2... ...
分类:
其他好文 时间:
2018-12-18 02:28:43
阅读次数:
169
1 import tensorflow as tf 2 import os 3 os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' 4 5 x = tf.Variable([1, 2]) 6 a = tf.constant([3, 3]) 7 '''增加一个减法op''... ...
分类:
其他好文 时间:
2018-12-18 02:08:18
阅读次数:
217
六大原则 单一职责原则告诉我们实现类要职责单一; 里氏替换原则告诉我们不要破坏继承关系; 依赖倒置原则告诉我们要面向接口编程; 接口隔离原则告诉我们在设计接口的时候要精简单一; 迪米特法则告诉我们要降低耦合; 开闭原则告诉我们要对扩展开放,对修改封闭; Open Closed Principle(O ...
分类:
其他好文 时间:
2018-12-17 16:56:53
阅读次数:
201
Battle Over Cities It is vitally important to have all the cities connected by highways in a war. If a city is occupied by the enemy, all the highways ...
分类:
其他好文 时间:
2018-12-16 21:30:33
阅读次数:
436
写一篇英文的稿子练练英语- -。 Python, as a high-level programming language, was born by accident, but it is inevitable that it will be loved by programmers. Uncle ...
分类:
编程语言 时间:
2018-12-16 13:29:38
阅读次数:
127
文档流(normal flow)# BFC(Block fromatting context):# 块级格式化上下文,它是一个独立的渲染区域,只有Block-level box参与,它规定了内部的Block-level Box如何布局,并且与这个区域外部毫不相干.# BFC规则:# 1.内部的Box ...
分类:
其他好文 时间:
2018-12-16 11:15:46
阅读次数:
113
工程中的nginx配置 nginx配置详解参考:Nginx配置文件(nginx.conf)配置详解 include /home/xxx/opt/nginx/conf.d/mime.types; 参考:nginx proxy_pass和rewrite的区别 Nginx之proxy_redirect详解 ...
分类:
其他好文 时间:
2018-12-14 13:57:48
阅读次数:
171
1.数据 var tree = [{ text: "车型A", nodes: [{ text: "车系1", }, { text: "车系2" }, { text: "车系3" } ] }, { text: "车型B", nodes: [{ text: "车系4", }, { text: "车系5" ...
分类:
其他好文 时间:
2018-12-14 10:55:41
阅读次数:
395
本文讨论的是JAVA High Level Rest Client向ElasticSearch6.3.2发送请求( "index操作" 、update、delete……)的一个详细过程的理解,主要涉及到Rest Client如何选择哪一台Elasticsearch服务器发起请求。 maven依赖如下 ...
分类:
其他好文 时间:
2018-12-14 01:10:55
阅读次数:
278
一、A appwiz.cpl::程序和功能 二、C calc:启动计算器 certmgr.msc:证书管理实用程 charmap:启动字符映射表 chkdsk.exe:Chkdsk:磁盘检查(管理员身份运行命令提示符) cleanmgr::打开磁盘清理工具 cliconfg:SQL SERVER : ...