名称: 中介者模式(Mediator Pattern) 问题: The Mediator pattern simplifies communication among objects in a system by introducing a single object that manages me ...
分类:
其他好文 时间:
2020-06-30 19:04:07
阅读次数:
53
ES6新特性(2015) ES6的特性比较多,在 ES5 发布近 6 年(2009-11 至 2015-6)之后才将其标准化。两个发布版本之间时间跨度很大,所以ES6中的特性比较多。 在这里列举几个常用的: 类 模块化 箭头函数 函数参数默认值 模板字符串 解构赋值 延展操作符 对象属性简写 Pro ...
分类:
其他好文 时间:
2020-06-30 14:24:52
阅读次数:
65
Single Shot Multibox Detection (SSD)实战(上) 介绍了边界框、锚框、多尺度对象检测和数据集。现在,我们将利用这些背景知识构建一个目标检测模型:单次多盒检测(SSD)。这种快速简便的模式已经被广泛应用。该模型的一些设计思想和实现细节也适用于其他对象检测模型。 1. ...
分类:
其他好文 时间:
2020-06-30 14:24:33
阅读次数:
46
#include <iostream> #include <fstream> #include<vector> using namespace std; /** * @brief 读取二进制文件中的数据 * @param data_fname 二进制文件名 * @param rows * @para ...
分类:
编程语言 时间:
2020-06-30 13:05:07
阅读次数:
72
数据类型 JS中一共分成六种数据类型 String 字符串 Number 数值 Boolean 布尔值 Null 空值 Undefined 未定义 Object 对象 其中基本数据类型有 String 字符串 JS中的字符串需要使用引号引起来双引号或单引号都行 在字符串中使用\作为转义字符 ' == ...
分类:
编程语言 时间:
2020-06-30 11:16:12
阅读次数:
58
https://www.cnblogs.com/grandyang/p/5144918.html 1. class Solution { public: int nthSuperUglyNumber(int n, vector<int>& primes) { vector<int> res(1,1) ...
分类:
其他好文 时间:
2020-06-30 10:56:23
阅读次数:
38
maxlength 属性规定输入字段的最大长度,以字符个数计。 maxlength 属性与 <input type="text"> 或 <input type="password"> 配合使用。 maxlength 属性 用在<input type="number"> 是没效果的 解放方案: <in ...
分类:
其他好文 时间:
2020-06-30 10:52:06
阅读次数:
227
1. let 和 const 在es6之前,一般是用 var 用来定义变量、函数、对象等,由于 js 是弱类型的语言,js中所有的变量包括 number/string/boolean/undefined/function/object 都能通过var关键字来定义,在js中:var a; 声明未赋值默 ...
分类:
其他好文 时间:
2020-06-30 10:46:59
阅读次数:
46
1简介SpringCloud是基于SpringBoot的一整套实现微服务的框架。他提供了微服务开发所需的配置管理、服务发现、断路器、智能路由、微代理、控制总线、全局锁、决策竞选、分布式会话和集群状态管理等组件。具体介绍请见:注意其中的版本信息官方:http://projects.spring.io/spring-cloud/Dalston版本的文档:http://cloud.spring.io/s
分类:
编程语言 时间:
2020-06-30 09:15:35
阅读次数:
78
1104 Sum of Number Segments (20分) Given a sequence of positive numbers, a segment is defined to be a consecutive subsequence. For example, given the s ...
分类:
其他好文 时间:
2020-06-30 00:44:09
阅读次数:
60