1.Overload your functions by having variable number of input and output argumernt.Not only can we overload functions also operators. 我们可以通过不同的输入输出来重载函 ...
分类:
其他好文 时间:
2019-08-26 21:00:27
阅读次数:
83
"Manthan, Codefest 19 (open for everyone, rated, Div. 1 + Div. 2) C. Magic Grid 构造" 【Problem Description】 ? 给你一个$n$,构造一个$n\times n$的矩阵,使其满足任意一行,或一列的异或 ...
分类:
其他好文 时间:
2019-08-26 19:32:45
阅读次数:
129
package com.shopping.test; import java.text.SimpleDateFormat; import java.util.Date; /***** * 雪花算法根据时间戳生成有序的 64 bit 的 Long 类型的唯一 ID * * 各 bit 含义: * 1 ... ...
分类:
编程语言 时间:
2019-08-26 12:47:11
阅读次数:
86
Bayesian Hyperparameter Optimization is a whole area of research devoted to coming up with algorithms that try to more efficiently navigate the space ...
分类:
其他好文 时间:
2019-08-26 10:14:05
阅读次数:
110
代码参考自:https://github.com/DetectionTeamUCAS/FPN_Tensorflow 主要分析fpn多层金字塔结构的输出如何进行预测。 FPN金字塔结构插入在faster_rcnn的特征图获取之后,在rpn结构之前。 具体代码如下所示: 代码结构追溯至FPN部分: tr ...
分类:
其他好文 时间:
2019-08-25 18:26:55
阅读次数:
1342
作者javadoop,资深Java工程师。本文已获作者授权发布。 原文链接https://www.javadoop.com/post/rate limiter 本文主要介绍关于流控的两部分内容。 第一部分介绍 Guava 中 RateLimiter 的源码,包括它的两种模式,目前网上大部分文章只分析 ...
分类:
其他好文 时间:
2019-08-25 12:07:40
阅读次数:
79
采摘一些大佬的果实: 知乎:如何理解深度学习分布式训练中的large batch size与learning rate的关系? https://blog.csdn.net/shanglianlm/article/details/84821891 ...
分类:
其他好文 时间:
2019-08-25 01:33:06
阅读次数:
125
函数式编程可以使代码更精简。 函数:filter(function_or_none, iterable) 返回通过函数function_or_none过滤iterable迭代列表后的新列表。过滤函数为None返回原列表。 list_a经过lambda函数过滤后得到列表list_b 结果: [4, 5 ...
分类:
编程语言 时间:
2019-08-25 01:03:39
阅读次数:
111
Problem Description N (1 ≤ N ≤ 100) cows, conveniently numbered 1..N, are participating in a programming contest. As we all know, some cows code bette ...
分类:
其他好文 时间:
2019-08-24 22:57:58
阅读次数:
80
原文链接:https://blog.csdn.net/churximi/article/details/51648388 enumerate()说明 enumerate()是python的内置函数enumerate在字典上是枚举、列举的意思对于一个可迭代的(iterable)/可遍历的对象(如列表、 ...
分类:
编程语言 时间:
2019-08-24 20:32:50
阅读次数:
115