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
1 import tensorflow as tf 2 import numpy as np 3 4 '''使用numpy生成100个随机点''' 5 x_data = np.random.rand(100) 6 y_data = x_data*0.1 + 0.2 7 8 '''构造一个线性模型''... ...
分类:
其他好文 时间:
2018-12-18 02:07:48
阅读次数:
241
本文将会讲到5G和HTTP。曾经在深入浅出经典面试题:从浏览器中输入URL到页面加载发生了什么 - Part 3 提到为什么有些RPC框架不选用HTTP,而5G会采用HTTP。 您可以从本文里获取到一些概念:5G用HTTP作为reference point interface的实现,HTTP/2,R ...
分类:
Web程序 时间:
2018-12-14 12:40:07
阅读次数:
1282
/2760数字三角形http://bailian.openjudge.cn/practice/2760//#include<bits/stdc++.h>usingnamespacestd;intmain(){inta[101][101],n;//1、输入cin>>n;for(inti=1;i<=n;i++)for(intj=1;j<=i;j++){cin>
分类:
其他好文 时间:
2018-12-11 17:16:14
阅读次数:
180
CentOS/RHEL 的用户需要注意的事项 来源:https://yeasy.gitbooks.io/docker_practice/image/rm.html 在 Ubuntu/Debian 上有 UnionFS 可以使用,如 aufs 或者 overlay2,而 CentOS 和 RHEL 的 ...
分类:
其他好文 时间:
2018-12-07 14:54:05
阅读次数:
269
读入一个正整数 n,计算其各位数字之和,用汉语拼音写出和的每一位数字。 输入格式: 每个测试输入包含 1 个测试用例,即给出自然数 n 的值。这里保证 n 小于 10?100??。 输出格式: 在一行内输出 n 的各位数字之和的每一位,拼音数字间有 1 空格,但一行中最后一个拼音数字后没有空格。 输 ...
分类:
其他好文 时间:
2018-12-07 14:40:52
阅读次数:
195
滤波和边缘检测 1. 空间滤波和频域滤波 线性滤波和非线性滤波 滑动滤波: blur 和 boxfilter、高斯滤波器是真正的低通滤波器、与boxfilter相比没有振铃现象。 Practice matter: Matlab 线性滤波器:H=fspecila(‘Gaussian’,7,1); Op ...
分类:
其他好文 时间:
2018-12-05 14:24:51
阅读次数:
235
WEEK 6 Advice for Applying Machine Learning Applying machine learning in practice is not always straightforward. In this module, we share best practic ...
分类:
其他好文 时间:
2018-12-03 15:37:17
阅读次数:
113
题目链接:http://bailian.openjudge.cn/practice/2808?lang=en_US 总时间限制:1000ms内存限制:65536kB描述某校大门外长度为L的马路上有一排树,每两棵相邻的树之间的间隔都是1米。我们可以把马路看成一个数轴,马路的一端在数轴0的位置,另一端在 ...
分类:
其他好文 时间:
2018-12-02 10:36:32
阅读次数:
140
实参与形参的传递机制 用数组来管理属性、对象等 public class TestMydate { public static void main(String[] args) { MyDate[] arr = new MyDate[2]; //创建长度为2的数组 arr[0] = new MyDa ...
分类:
其他好文 时间:
2018-11-25 20:30:04
阅读次数:
199