摘要: 首先安装fcitx 一、检测是否安装fcitx 首先检测是否有fcitx,因为搜狗拼音依赖fcitx > fcitx 提示: 程序“fcitx”尚未安装。 您可以使用以下命令安装: > sudo apt-get install fcitx-bin 如遇到 E: 无法定位软件包 fcitx-bin问题 阅读全文
posted @ 2019-08-15 22:51 是大高呀 阅读(2107) 评论(0) 推荐(0) 编辑
摘要: 首先显示一段代码: import numpy as npnum = 0while(num<5):np.random.seed(1)print(np.random.random())num += 1 print(' ')num1 = 0np.random.seed(2)while(num1<5):pr 阅读全文
posted @ 2019-08-06 18:18 是大高呀 阅读(1519) 评论(0) 推荐(0) 编辑
摘要: exponential_decay(learning_rate, global_steps, decay_steps, decay_rate, staircase=False, name=None) 使用方式: tf.tf.train.exponential_decay() 例子: tf.train 阅读全文
posted @ 2019-07-06 22:28 是大高呀 阅读(2755) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-07-06 20:50 是大高呀 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-07-05 12:56 是大高呀 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 函数:tf.less less( x, y, name=None ) 以元素方式返回(x <y)的真值. 注意:Less支持广播. 参数: x:张量.必须是下列类型之一:float32,float64,int32,int64,uint8,int16,int8,uint16,half. y:张量.必须 阅读全文
posted @ 2019-06-28 17:22 是大高呀 阅读(7629) 评论(0) 推荐(0) 编辑
摘要: meshgrid用于从数组a和b产生网格。生成的网格矩阵A和B大小是相同的。它也可以是更高维的。用法: [A,B]=Meshgrid(a,b),生成size(b)Xsize(a)大小的矩阵A和B。它相当于a从一行重复增加到size(b)行,把b转置成一列再重复增加到size(a)列 a=[0,5,1 阅读全文
posted @ 2019-06-28 14:56 是大高呀 阅读(7282) 评论(0) 推荐(0) 编辑
摘要: 参考文献:https://www.cnblogs.com/Yiutto/p/5827775.html 在科学计算的过程中,往往需要保存一些数据,也经常需要把保存的这些数据加载到程序中,在 Matlab 中我们可以用 save 和 lood 函数很方便的实现。类似的在 Python 中,我们可以用 n 阅读全文
posted @ 2019-06-25 19:57 是大高呀 阅读(51335) 评论(0) 推荐(3) 编辑
摘要: 转载:原文地址http://www.cnblogs.com/graphics/archive/2012/07/25/2582119.html 概述 投影变换完成的是如何将三维模型显示到二维视口上,这是一个三维到二维的过程。你可以将投影变换看作是调整照相机的焦距,它模拟了为照相机选择镜头的过程。投影变 阅读全文
posted @ 2019-06-24 14:47 是大高呀 阅读(1107) 评论(0) 推荐(0) 编辑
摘要: 转载:https://www.jianshu.com/p/71e6ef6c121b https://www.cnblogs.com/chamie/p/11073363.html 其中“input_”是你输入的tensor,就是被切的那个。 “begin”是每一个维度的起始位置,这个下面详细说。 “s 阅读全文
posted @ 2019-06-23 19:50 是大高呀 阅读(3268) 评论(0) 推荐(0) 编辑