1、创新点: 这篇论文实现了图像的任意风格转换,不在局限于单个风格的训练。同时支持优化和前向网络的方法。这个方面只在一层进行相关处理。 https://blog.csdn.net/wyl1987527/article/details/70476044 ...
分类:
其他好文 时间:
2020-07-26 00:18:47
阅读次数:
109
笛卡尔坐标转换为极坐标。 cartToPolar(...) cartToPolar(x, y[, magnitude[, angle[, angleInDegrees]]]) -> magnitude, angle . @brief Calculates the magnitude and angl ...
分类:
其他好文 时间:
2020-07-23 23:08:23
阅读次数:
189
01. sudo add-apt-repository ppa:fcitx-team/nightly 02. sudo apt-get update 03. sudo apt-get install fcitx 04. sudo apt-get install fcitx-config-gtk an ...
分类:
系统相关 时间:
2020-07-23 09:20:25
阅读次数:
475
css3属性中关于制作动画的三个属性:Transform,Transition,Animation。 1、transform:描述了元素的静态样式,本身不会呈现动画效果,可以对元素进行 旋转rotate、扭曲skew、缩放scale和移动translate以及矩阵变形matrix。 div{ tra ...
分类:
Web程序 时间:
2020-07-22 23:36:58
阅读次数:
115
最近使用goland 和 clion 进行开发时;发现不能使用中文输入法;就是很尴尬; 通过搜索教程,我使用的时sogou输入法,使用的时fcitx 框架;需要配置环境变量; 这时候,我们需要在启动脚本里加入: export XMODIFIERS="@im=fcitx" export GTK_IM_ ...
分类:
系统相关 时间:
2020-07-19 16:17:08
阅读次数:
167
Splay: 像BST(二叉搜索树)一样插入查询,可以改变树的形状,可以区间翻转,可以实现动态树,不可持久化。 核心代码: 1 void rotate(int a) // 旋转 2 { 3 int b = fa[a], c = fa[b]; 4 int k = son[b][1] == a, w = ...
分类:
其他好文 时间:
2020-07-18 00:54:56
阅读次数:
87
创建一个没有背景的圆,然后声明透明度为0.1的黑色边框(看起来是灰色),修改左侧边框颜色。此时会有一个静态的看起来只有左边框有颜色的空心圆。然后声明一个该元素逆时针旋转360度的动画,并让该动画无限播放(infinite)即可。 使用的css3 特性: transform属性的 rotate,共一个 ...
分类:
Web程序 时间:
2020-07-18 00:31:25
阅读次数:
112
1,localStorage 存储数据支持5M大小,只有不清除历史记录,数据就在 var data = { left: 0, top: 0, scale: 1, rotate: 0 }; // localStorage本地存储 window.localStorage.cat_touchjs_data ...
分类:
其他好文 时间:
2020-07-16 18:08:47
阅读次数:
66
Given an array, rotate the array to the right by k steps, where k is non-negative. Follow up: Try to come up as many solutions as you can, there are a ...
分类:
其他好文 时间:
2020-07-16 00:20:51
阅读次数:
49
Angle Between Hands of a Clock (M) 题目 Given two numbers, hour and minutes. Return the smaller angle (in degrees) formed between the hour and the minut ...
分类:
其他好文 时间:
2020-07-15 10:47:17
阅读次数:
102