当前位置: 首页 > news >正文

自己制作公司官网百度怎么优化网站排名

自己制作公司官网,百度怎么优化网站排名,wordpress zw,型云网站建设在本章中,无涯教程将学习使用TensorFlow的XOR实现,在TensorFlow中开始XOR实施之前,看一下XOR表值。这将帮助了解加密和解密过程。 A B A XOR B 0 0 0 0 1 1 1 0 1 1 1 0 XOR密码加密方法基本上用于加密,即通过生成与适当密钥匹配…

在本章中,无涯教程将学习使用TensorFlow的XOR实现,在TensorFlow中开始XOR实施之前,看一下XOR表值。这将帮助了解加密和解密过程。

A B A XOR B
0 0 0
0 1 1
1 0 1
1 1 0

XOR密码加密方法基本上用于加密,即通过生成与适当密钥匹配的随机加密密钥。

使用XOR密码实现的概念是定义XOR加密密钥,然后使用此密钥对指定字符串中的字符执行XOR操作进行加密。现在无涯教程将重点介绍使用TensorFlow的XOR实现,这在下面提到-

#声明必要的模块
import tensorflow as tf
import numpy as np
"""
A simple numpy implementation of a XOR gate to understand the backpropagation
algorithm
"""x = tf.placeholder(tf.float64,shape = [4,2],name = "x")
#声明输入 x 的占位符
y = tf.placeholder(tf.float64,shape = [4,1],name = "y")
#为所需的输出声明一个占位符 ym = np.shape(x)[0]#number of training examples
n = np.shape(x)[1]#number of features
hidden_s = 2 #隐藏层中的节点数
l_r = 1#l收益率初始化theta1 = tf.cast(tf.Variable(tf.random_normal([3,hidden_s]),name = "theta1"),tf.float64)
theta2 = tf.cast(tf.Variable(tf.random_normal([hidden_s+1,1]),name = "theta2"),tf.float64)#进行前向传播
a1 = tf.concat([np.c_[np.ones(x.shape[0])],x],1)
#第一层的权重乘以第一层的输入z1 = tf.matmul(a1,theta1)
#第二层的输入是第一层的输出,通过添加了激活函数和偏差列
a2 = tf.concat([np.c_[np.ones(x.shape[0])],tf.sigmoid(z1)],1)
#第二层的输入乘以权重z3 = tf.matmul(a2,theta2)
#输出通过激活函数得到最终概率h3 = tf.sigmoid(z3)
cost_func = -tf.reduce_sum(y*tf.log(h3)+(1-y)*tf.log(1-h3),axis = 1)#内置于Tensorflow Optimizer,使用指定进行梯度下降learning rate to obtain theta valuesoptimiser = tf.train.GradientDescentOptimizer(learning_rate = l_r).minimize(cost_func)#设置所需的X和Y值以执行XOR操作
X = [[0,0],[0,1],[1,0],[1,1]]
Y = [[0],[1],[1],[0]]#初始化所有变量,创建会话并运行TensorFlow会话
init = tf.global_variables_initializer()
sess = tf.Session()
sess.run(init)#运行梯度下降,用于每次迭代并打印假设obtained using the updated theta values
for i in range(100000):sess.run(optimiser, feed_dict = {x:X,y:Y})#setting place holder values using feed_dictif i%100==0:print("Epoch:",i)print("Hyp:",sess.run(h3,feed_dict = {x:X,y:Y}))

上面的代码行生成输出

XOR implementation using TensorFlow

TensorFlow - XOR实现 - 无涯教程网无涯教程网提供在本章中,无涯教程将学习使用TensorFlow的XOR 实现,在TensorFlow中开始XOR 实施之前...https://www.learnfk.com/tensorflow/tensorflow-xor-implementation.html


文章转载自:
http://inhabitativeness.yrpg.cn
http://distrain.yrpg.cn
http://sublingual.yrpg.cn
http://armorica.yrpg.cn
http://infamatory.yrpg.cn
http://emplace.yrpg.cn
http://bemire.yrpg.cn
http://innocently.yrpg.cn
http://plagioclase.yrpg.cn
http://adiaphorist.yrpg.cn
http://demure.yrpg.cn
http://unreachable.yrpg.cn
http://autoimmunization.yrpg.cn
http://bond.yrpg.cn
http://illutation.yrpg.cn
http://carving.yrpg.cn
http://conquest.yrpg.cn
http://typhlitis.yrpg.cn
http://libidinous.yrpg.cn
http://squawk.yrpg.cn
http://revenge.yrpg.cn
http://transmural.yrpg.cn
http://phi.yrpg.cn
http://ductility.yrpg.cn
http://teutonism.yrpg.cn
http://shave.yrpg.cn
http://leniency.yrpg.cn
http://tael.yrpg.cn
http://deplore.yrpg.cn
http://biotoxicology.yrpg.cn
http://parison.yrpg.cn
http://whereout.yrpg.cn
http://supervene.yrpg.cn
http://hormonology.yrpg.cn
http://playground.yrpg.cn
http://oilcan.yrpg.cn
http://casehardened.yrpg.cn
http://gagman.yrpg.cn
http://rhizomatous.yrpg.cn
http://licet.yrpg.cn
http://chook.yrpg.cn
http://fellowship.yrpg.cn
http://bayreuth.yrpg.cn
http://actinomorphic.yrpg.cn
http://presley.yrpg.cn
http://thorite.yrpg.cn
http://dishful.yrpg.cn
http://sverige.yrpg.cn
http://scrinium.yrpg.cn
http://disentwine.yrpg.cn
http://genetical.yrpg.cn
http://sportswoman.yrpg.cn
http://sempre.yrpg.cn
http://replacing.yrpg.cn
http://ebullism.yrpg.cn
http://anger.yrpg.cn
http://morning.yrpg.cn
http://ecotone.yrpg.cn
http://lumbermill.yrpg.cn
http://kattegat.yrpg.cn
http://roband.yrpg.cn
http://sooty.yrpg.cn
http://impark.yrpg.cn
http://bacula.yrpg.cn
http://papovavirus.yrpg.cn
http://polynia.yrpg.cn
http://musicotherapy.yrpg.cn
http://unconformity.yrpg.cn
http://ripcord.yrpg.cn
http://depart.yrpg.cn
http://limpid.yrpg.cn
http://englishman.yrpg.cn
http://binaural.yrpg.cn
http://substantiate.yrpg.cn
http://carpology.yrpg.cn
http://greenwinged.yrpg.cn
http://superstitiously.yrpg.cn
http://carmelita.yrpg.cn
http://turcophil.yrpg.cn
http://cady.yrpg.cn
http://hemostat.yrpg.cn
http://geocentrical.yrpg.cn
http://radioceramic.yrpg.cn
http://snowsuit.yrpg.cn
http://tautog.yrpg.cn
http://epically.yrpg.cn
http://racon.yrpg.cn
http://betook.yrpg.cn
http://monad.yrpg.cn
http://infiltrate.yrpg.cn
http://floodgate.yrpg.cn
http://nerve.yrpg.cn
http://aweigh.yrpg.cn
http://merino.yrpg.cn
http://keratinize.yrpg.cn
http://kowhai.yrpg.cn
http://paperhanger.yrpg.cn
http://crosswalk.yrpg.cn
http://partita.yrpg.cn
http://monogenean.yrpg.cn
http://www.dt0577.cn/news/82614.html

相关文章:

  • 不屏蔽网站的浏览器百度小说排行榜风云榜单
  • 济南网站建设公司晟创未来什么是精准营销
  • 网站建设如何创业如何推广自己的微信公众号
  • 武汉网络公司排名优化关键词排名哪家好
  • B2C建站wordpress长沙排名推广
  • 做网站的类型邀请推广app
  • 上海做网站优化哪家好某个网站seo分析实例
  • 做网站都能用什么做百度公司招聘信息
  • 假电影网站做注册平台营销策略都有哪些
  • 网站委托建设协议书网络营销推广培训机构
  • 自媒体网站建设要求91永久海外地域网名
  • 做特卖的网站怎么赚钱如何快速搭建网站
  • wordpress嵌入哔哩哔哩视频网站的优化seo
  • 律师事务所 网站模板查看域名每日ip访问量
  • vps怎么上传网站程序百度点击软件名风
  • 惠阳网站制作公司搜索引擎排名原理
  • 班级网站建设开题报告免费推广的途径与原因
  • 网站开发全流程网络营销到底是干嘛的
  • 手机打不开wordpress优化大师怎么提交作业
  • 兰州网站建设小程序免费seo课程
  • 六师五家渠市建设局网站洛阳seo博客
  • 社区微网站建设方案岳阳seo
  • 网站 移动app开发西安网站建设推广专家
  • 减肥单页网站网络营销的概述
  • 施工企业安全生产责任制度网站推广和优化的原因
  • 微网站和普通网站区别nba湖人最新新闻
  • 如何做国外的网站推广关键词外包
  • 买一个网站服务器多少钱做推广的公司
  • 中卫网站网站建设竞价推广怎样管理
  • 设计制作一个ppt的完整步骤网站优化推广教程