一、代码 import pandas as pd import matplotlib.pyplot as plt import matplotlib.ticker as ticker import matplotlib.animation as animation df = pd.read_csv( ...
分类:
编程语言 时间:
2020-01-23 11:08:20
阅读次数:
418
先来看一下有哪些接口用来进行张量的合并与分割: tf.concat用来进行张量的拼接,tf.stack用来进行张量的堆叠,tf.split用来进行张量的分割,tf.unstack是tf.split的一种,也用来进行张量分割 1.tf.concat 参数axis代表将要合并的维度 # 假设a代表四个班 ...
分类:
其他好文 时间:
2020-01-22 22:14:08
阅读次数:
88
Jenkins插件管理 Jenkins本身不提供很多功能,我们可以通过使用插件来满足我们的使用。例如从Gitlab拉取代码,使用Maven构建项目等功能需要依靠插件完成。接下来演示如何下载插件。修改Jenkins插件下载地址Jenkins国外官方插件地址下载速度非常慢,所以可以修改为国内插件地址:J ...
分类:
其他好文 时间:
2020-01-22 16:20:36
阅读次数:
76
题面 HDU4773 解析 大概是圆反演的模板吧。 以点$P(x3, y3)$为反演中心,任意长为反演半径,将两个已知圆反演,设反演后的圆为$A'$, $B'$,所求圆反演后为一条直线,根据题目中的要求,该直线为两圆的外公切线。因此我们只需要求出两圆的外公切线即可。 然后会发现WA了,因为题目中还有 ...
分类:
其他好文 时间:
2020-01-22 10:58:19
阅读次数:
56
You are given a series of video clips from a sporting event that lasted T seconds. These video clips can be overlapping with each other and have varie ...
分类:
其他好文 时间:
2020-01-22 10:50:53
阅读次数:
80
只需在终端内输入以下命令即可: defaults write com.apple.inputmethod.CoreChineseEngineFramework shuangpinLayout 5 系统为macOS Catalina 10.15.2 参考博客:https://www.dazhuanla ...
分类:
系统相关 时间:
2020-01-21 23:16:30
阅读次数:
179
Trying to structure the state logic of an application as a single machine can begin to become unwieldy when we have too many states. It is often bette ...
分类:
系统相关 时间:
2020-01-21 21:31:40
阅读次数:
89
acm.hdu.edu.cn/showproblem.php?pid=4629 题意: 给出n个三角形,分别求出他们相交i次的面积,i∈[1,n] 在求面积并的基础上修改 求面积并:https://www.cnblogs.com/TheRoadToTheGold/p/12221288.html 当计 ...
分类:
其他好文 时间:
2020-01-21 18:25:24
阅读次数:
69
org.springframework.data.redis.RedisConnectionFailureException: Cannot get Jedis connection; nested exception is redis.clients.jedis.exceptions.JedisC ...
分类:
编程语言 时间:
2020-01-21 16:16:26
阅读次数:
75
Vue基础篇 7表单输入绑定input 1.基础语法 你可以用 指令在表单 及 v model` 本质上不过是语法糖。它负责监听用户的输入事件以更新数据,并对一些极端场景进行一些特殊处理。 注意: 文本 多行文本 在文本区域插值 ( v model` 来代替。 复选框 单个复选框,绑定到布尔值: 多 ...
分类:
其他好文 时间:
2020-01-20 00:23:12
阅读次数:
78