开发flutter的插件,首先来定义Dart端的接口。 创建plugin目录 创建类 这里需要用到dart端和native端通讯的channel。首先需要导入services的包 指定channe的名字要和native端统一,否则找不到 提供几个接口。 首先是start方法,参数params为可选的 ...
分类:
其他好文 时间:
2020-02-15 13:19:54
阅读次数:
73
1、定义 Apache Flume是为有效收集聚合和移动大量来自不同源到中心数据存储而设计的可分布,可靠的,可用的系统。 Flume是一个分布式、可靠、和高可用的海量日志采集、聚合和传输的系统。 2、架构图 3、常见概念理解 ①client:客户端,运行agent的地方,每台机器只运行一个agent ...
分类:
Web程序 时间:
2020-02-14 11:00:40
阅读次数:
89
Go语言中有丰富的数据类型,除了基本的整型、浮点型、布尔型、字符串外,还有数组、切片、结构体、函数、map、通道(channel)等。Go 语言的基本类型和其他语言大同小异。 基本数据类型 整型 整型分为以下两个大类: 按长度分为:int8、int16、int32、int64 对应的无符号整型:ui ...
分类:
编程语言 时间:
2020-02-11 00:51:08
阅读次数:
67
Pytorch冲冲冲 2.10 1. Dropout 2. BackPropagation 3. 梯度衰减和爆炸 4. house price predict 2.11 1. K折交叉验证法 2. conv layer 3. padding and strides 4. channels 5. po ...
分类:
其他好文 时间:
2020-02-11 00:04:53
阅读次数:
63
Anaconda 镜像使用帮助 "https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/" 生成 文件(用户目录) 修改 文件 ...
分类:
其他好文 时间:
2020-02-09 23:37:21
阅读次数:
79
I have a simple RabbitMQ test program randomly enqueuing messages, and another reading them, all using Spring-AMQP. If the consumer dies (for example ...
分类:
其他好文 时间:
2020-02-08 11:51:37
阅读次数:
113
签到成功 只求week4不要交白卷 Crypto Exchange 题目: Our admin hijacked a secret channel and it looks like there are two teams doing some unspeakable transactions. n ...
分类:
其他好文 时间:
2020-02-08 09:57:02
阅读次数:
107
背景:想要为下载的anaconda安装tensorflow 使用命令 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow 报错如下: 解决办法:创建一个虚拟虚拟环境,在虚拟环境中安装tensorflow,然后使用pyc ...
分类:
其他好文 时间:
2020-02-07 19:09:58
阅读次数:
87
DenseNet "论文传送门" ,这篇论文是CVPR 2017的最佳论文. "resnet一文" 里说了,resnet是具有里程碑意义的.densenet就是受resnet的启发提出的模型. resnet中是把不同层的feature map相应元素的值直接相加.而densenet是将channel ...
分类:
Web程序 时间:
2020-02-06 19:47:42
阅读次数:
135
opencvcall.cpp #include <opencv2/opencv.hpp> using namespace cv; extern "C" { void test(int height, int width, int channel, uchar* frame_data) { int c ...
分类:
编程语言 时间:
2020-02-06 14:38:10
阅读次数:
146