win10设置ubuntu系统root账户密码 一、安装ubuntuubuntu安装docker官方文档: https://docs.docker.com/install/linux/docker-ce/ubuntu/ 二、修改root账户的密码在win10商店下载ubuntu,安装docker后,每次使用docker命令都需要输入sudo,不使用sudo会报错 1Cannot connect to the Docker daemon at t 2019-09-05 ubuntu ubuntu
TensorFlow学习笔记2 Session的两种使用方式 1234567891011121314151617181920import tensorflow as tfmatrix1 = tf.constant([[3,3]])matrix2 = tf.constant([[2,2]])product = tf.matmul(matrix1,matrix2) # matrix multiply np.dot(m1,m2)# 2019-09-03 计算机相关 TensorFlow 计算机相关 TensorFlow
is()和hasClass() is()和hasClass() jq中的is()有判断元素是否含有某个class的属性,但是hasClass()没有效果。下面是我找的对应的官方的文档,注意仔细阅读文档里面的小demo,并且注意里面的细微区别。 is() 123https://api.jquery.com/is/Description: Check the current matched set of elements agai 2019-09-03 前端 前端
TensorFlow学习笔记5 搭建神经网络基本流程 定义添加神经层的函数 1.训练的数据2.定义节点准备接收数据3.定义神经层:隐藏层和预测层4.定义 loss 表达式5.选择 optimizer 使 loss 达到最小 然后对所有变量进行初始化,通过 sess.run optimizer,迭代 1000 次进行学习: 123456789101112131415161718192021222324252627282930 2019-09-03 计算机相关 TensorFlow 计算机相关 TensorFlow
TensorFlow学习笔记6 TensorFlow搭建神经网络可视化结果1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859import tensorflow as tfimport numpy as npimport matplotlib.pyplot as p 2019-09-03 计算机相关 TensorFlow 计算机相关 TensorFlow
TensorFlow学习笔记4 placeholder传值 12345678910import tensorflow as tfinput1 = tf.placeholder(tf.float32)input2 = tf.placeholder(tf.float32)output = tf.multiply(input1,input2)# with tf.Session as sess:sess = tf.Session()pr 2019-09-03 计算机相关 TensorFlow 计算机相关 TensorFlow
TensorFlow学习笔记3 Variable变量的简单使用 在 Tensorflow 中,定义了某字符串是变量,它才是变量,这一点是与 Python 所不同的 1234567891011121314151617181920212223import tensorflow as tfstate = tf.Variable(0,name = 'counter')print(state.name)one = tf 2019-09-03 计算机相关 TensorFlow 计算机相关 TensorFlow
HTTPS 比 HTTP 更安全 为什么 HTTPS 比 HTTP 更安全?:https://mp.weixin.qq.com/s/xAXiY_7Lvog-Xrq6qEokUQ?client=tim&ADUIN=1348954449&ADSESSION=1561252296&ADTAG=CLIENT.QQ.5603_.0&ADPUBNO=26882 2019-09-03 计算机相关 HTTP 计算机相关 HTTP
Phpstorm ubuntu创建图标 我们通过源码包的方式安装Jetbrain全家桶的软件时,桌面是没有快捷方式启动的,只能通过命令行的方式启动,很不方便。下面贴一下我的配置,通过快捷方式启动软件ubuntu 2004 进入目录下面的目录,参考里面已有的文件创建一个xxx.desktop文件 1/usr/share/applications PhpStorm123456789[Desktop Entry]Type=Applicatio 2019-09-03 Phpstorm Phpstorm
ubuntu 20.04 设置不见了 ubuntu20.04 用着用着突然发现设置不见了,即使重启电脑还是找不到设置,后来通过扒帖子发现是一个包丢失了,gnome-control-center,重新安装一个这个包就好了 1sudo apt install gnome-control-center 附上前面扒到的帖子: https://forum.ubuntu.com.cn/viewtopic.php?t=491114 2019-09-03 ubuntu ubuntu