1 def tensor_demo(): 2 """ 3 张量的演示 4 :return: 5 """ 6 tensor1 = tf.constant(4.0) 7 tensor2 = tf.constant([1, 2, 3, 4]) 8 linear_squares = tf.constant( ...
分类:
其他好文 时间:
2020-02-10 22:13:32
阅读次数:
58
参考:https://www.cnblogs.com/sparkdev/p/9826520.html https://docs.docker.com/compose/environment-variables/ 利用环境变量,可以很方便的重复利用 compose 进行部署 ...
分类:
其他好文 时间:
2020-02-10 09:22:25
阅读次数:
120
1. Gaussian processesGaussian processes are the extension of multivariate Gaussians to infinite-size collections real valued variables. In particular, ...
分类:
其他好文 时间:
2020-02-09 18:32:46
阅读次数:
89
行代码步骤如下,后面有详细步骤。 show global variables like '%general%'; set global general_log='on'; set global general_log_file='C:/phpStudy/PHPTutorial/WWW/yanshi. ...
分类:
Web程序 时间:
2020-02-09 14:57:22
阅读次数:
172
1290–TheMySQLserverisrunningwiththe–secure-file-privoptionsoitcannotexecutethisstatementsecure-file-priv特性secure-file-priv参数是用来限制LOADDATA,SELECT…OUTFILE,andLOAD_FILE()传到哪个指定目录的。ure_file_priv的值为null,表示
分类:
数据库 时间:
2020-02-09 00:39:19
阅读次数:
107
用到的命令行: show status like 'Threads%'; show variables like '%max_connections%'; show global status like 'Max_used_connections'; 所以可以在mysql 命令行 尝试下重新设置以下 ...
分类:
其他好文 时间:
2020-02-07 14:28:15
阅读次数:
78
区别在于: 前置处理器在请求之前会执行,而配置元件只是取值 如下例: 1、配置元件 2、前置处理器 两个变量的值一样,都是由函数助手取值组成,在java请求运行前后结果如下: 运行前: 运行后: 说明:前置处理器变量的值会执行得到结果,而配置元件不会执行 所以,在编写脚本时,如果是固定的值,可以用配 ...
分类:
其他好文 时间:
2020-02-06 12:17:52
阅读次数:
75
1、安装python驱动 pip3 install pymysql 2、数据库操作命令 https://www.cnblogs.com/UncleYong/p/7753188.html 3、连接测试 查询 端口mysql>show global variables like 'port'; impo ...
分类:
数据库 时间:
2020-02-04 12:20:36
阅读次数:
90
MySQL的配置信息可以通过两种方式实现,一种是命令行形式,在启动MySQL服务时后边带上相关配置参数,此种方式会在MySQL重启后失效。另外一种是通过写入配置文件,如my.cnf,启动或者重启MySQL服务都会生效,此种方式是永久生效。 启动选项 命令行 在MySQL服务命令启动时,带上配置参数 ...
分类:
数据库 时间:
2020-02-04 11:10:45
阅读次数:
117
相关参数 read_buffer_size https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_read_buffer_size If you do many sequential scans, yo ...
分类:
数据库 时间:
2020-02-02 11:53:10
阅读次数:
85