import tensorflow as tf import os os.environ["CUDA_VISIBLE_DEVICES"] = '0' #use GPU with ID=0 config = tf.ConfigProto() config.gpu_options.per_process ...
分类:
其他好文 时间:
2020-01-04 12:32:08
阅读次数:
124
来源:http://codeforces.com/problemset/problem/1265/B B. Beautiful Numbers time limit per test 1 second memory limit per test 256 megabytes input standar ...
分类:
其他好文 时间:
2020-01-02 22:33:54
阅读次数:
59
论文地址 "PER" PER的基本思路跟传统强化学习里面的Prioritized Sweeping基本一样。就是从replay buffer中sample的时候按照优先级sample,优先级用transition 的TD error来表示。transition 的TD error越大说明这个需要更好 ...
分类:
其他好文 时间:
2020-01-01 00:05:36
阅读次数:
109
MapReduce 两个部分: 映射:产生键值对 归并:处理这些键值对 // kernel __kernel void string_search(char16 pattern, __global char* text, int chars_per_item, __local int* local_ ...
分类:
其他好文 时间:
2019-12-30 14:20:06
阅读次数:
64
mm : millmeters , 毫米 , 关于屏幕的物理尺寸。 in : inches , 英寸 , 关于屏幕的物理尺寸。 pt : points , 一个标准单位,大小为一英寸屏幕大小的1/72. dpi : dots per inch , 每英寸点数,是一个计量单位,指每一英寸长度中,取样、 ...
分类:
其他好文 时间:
2019-12-29 23:27:27
阅读次数:
88
float实现文字环绕图片效果: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>float</title> <style> body{ font-family: '微软雅黑'; } .per{ width: ...
分类:
Web程序 时间:
2019-12-29 18:08:19
阅读次数:
81
time limit per test2 secondsmemory limit per test256 megabytesinput: standard inputoutput: standard output Recently, Norge found a string s=s1s2…sn co ...
分类:
其他好文 时间:
2019-12-21 00:15:46
阅读次数:
68
time limit per test3 secondsmemory limit per test256 megabytesinput: standard inputoutput: standard output You are given a non-empty string s=s1s2…sn, ...
分类:
其他好文 时间:
2019-12-20 23:54:14
阅读次数:
181
time limit per test3 secondsmemory limit per test256 megabytesinput: standard inputoutput: standard output There are n positive integers a1,a2,…,an. F ...
分类:
其他好文 时间:
2019-12-20 23:52:25
阅读次数:
105
A. Sweet Problem #include<bits/stdc++.h> #define rep(i, n) for(int i=0;i!=n;++i) #define per(i, n) for(int i=n-1;i>=0;--i) #define Rep(i, sta, n) for( ...
分类:
其他好文 时间:
2019-12-20 01:25:11
阅读次数:
164