Swift包含了C和Objective-C上所有基础数据类型,Int表示整型值、Double和Float表示浮点型值、Bool是布尔型值、String是文本型数据。Swift还提供了三个基本的集合类型:Array、Set和Dictionary。 Swift还提供了OC中没有的高阶数据类型比如元组Tu ...
分类:
编程语言 时间:
2020-05-02 00:16:06
阅读次数:
113
It is said that in 2011, there are about 100 graduate schools ready to proceed over 40,000 applications in Zhejiang Province. It would help a lot if y ...
分类:
其他好文 时间:
2020-04-29 21:35:39
阅读次数:
64
安装 npm i react-router-dom -- save<Router basename="/admin"> <Route path="/" exact component={()=>{<div>首页</div>}}> <Route path="/about" exact componen ...
分类:
其他好文 时间:
2020-04-28 20:11:16
阅读次数:
55
代码拆分 Webpack-Code Splitting import import('./detail.js').then(...) import React, { Component,lazy,Suspense } from 'react'; const About = lazy(()=>impo ...
分类:
其他好文 时间:
2020-04-28 14:41:28
阅读次数:
42
https://about.gitlab.com/install/ 官网安装 https://docs.gitlab.com/omnibus/README.html installation and configuration using omnibus package 配置文件详细介绍 配置要求: ...
分类:
其他好文 时间:
2020-04-27 11:28:47
阅读次数:
77
1. 加载和读取xml文件 ~~~python import xml.dom.minidom doc = xml.dom.minidom.parse(xmlfile) ~~~ 2. 获取xml文档对象(对子节点和节点node都适用) ~~~python root = doc.documentElem ...
分类:
编程语言 时间:
2020-04-26 20:28:29
阅读次数:
70
Swift whit Xcode 使用冒泡排序,自定义Array<Any>数组排序方法,返回排序后的数组 一、设计思想: 1、定义一个方法,此方法接受一个inout标识的可变数组参数和变量方法声明(变量方法作用:参数值大小比较) 方法参数说明: 1-1、数组参数要设为可变参数 在类型前用inout标 ...
分类:
编程语言 时间:
2020-04-23 00:46:56
阅读次数:
91
论文地址: https://hal.inria.fr/hal-02131630/document 作者 : Ganesh Jawahar, Benoît Sagot, Djamé Seddah 机构 : Inria 研究的问题: 探究BERT的深层次表征学习的论文,也就是通过实验研究BERT的可解释 ...
分类:
其他好文 时间:
2020-04-21 23:41:12
阅读次数:
172
The base (or radix) of a positional numeral system is the number of symbols that can be used to represent a number in that system. The base 1010 syste ...
分类:
其他好文 时间:
2020-04-20 11:47:10
阅读次数:
74
冒泡排序(升序为例) 思路: 1. 从头开始比较每一对相临的元素,其后者比前者大则交换,直到一轮比较结束 2. 排除1中找到最大的元素,重复1的步骤 Swift class SelectionSort { var array = [5, 7, 2, 8, 9, 4, 7, 3, 2] func so ...
分类:
编程语言 时间:
2020-04-19 14:29:32
阅读次数:
60