Phase 3: Object Oriented

1.3 Object Oriented 1.3.1 Object Oriented Foundation 1.3.1.1 Object Oriented 1.3.1.1.1 Basic concepts Procedures and Functions Procedure is similar to a function, can only be executed, but does not return a value A function not only executes but also returns results Simply put, object-orient ...

Posted on Tue, 18 Feb 2020 22:31:20 -0500 by mustang

Transformer of Bo Yu 's hands-on deep learning punch 12

Transformer In the previous chapters, we have introduced the main neural network architecture, such as convolutional neural network (CNNs) and cyclic neural network (RNNs). Let's review: CNN is easy to parallelize, but it is not suitable to capture the dependency in variable length sequences. RNNs is ...

Posted on Tue, 18 Feb 2020 03:07:18 -0500 by nadnad

The tag syntax of Golang

[TOC] The tag syntax of Golang Thank you for the excellent lecturer "cap1537" We can enhance the definition of structure through Tag, which will bring some meta information. In this article, we will learn more about the usage of Tag through several examples. structure Struct consists of a set of fields, each of which includes a name ...

Posted on Tue, 18 Feb 2020 00:06:03 -0500 by visualed

Note: hands on deep learning (machine translation, Transformer, attention mechanism and Sequence to sequence model)

-Machine translation -Machine translation and data set -Machine translation As the name implies, machine translation is to translate a text from one language to another, MT for short, and using neural network to solve this problem is called neural machine translation (NMT). The main feature is tha ...

Posted on Mon, 17 Feb 2020 04:00:42 -0500 by akufen

Python OpenCV video operation (DASH cam case)

Based on the modification of pictures OpenCV modify picture You can also use OpenCV to manipulate the video, Video reading is essentially image reading, because video is composed of one frame of image. One second, 24 frames can basically read the video smoothly. Open camera with opencv 1 first, t ...

Posted on Sun, 16 Feb 2020 22:32:37 -0500 by trystan

Gray box clearance WebGoat 8

SQL Injection (intro) 0x02 select department from employees where first_name='Bob'; 0x03 update employees set department='Sales' where first_name='Tobi'; 0x04 alter table employees add column phone varchar(20); 0x05 grant alter table to UnauthorizedUser 0x09 SELECT * FROM user_data WHERE first_nam ...

Posted on Sun, 16 Feb 2020 22:12:24 -0500 by paulareno

Java - Java13 Core Classes

Java13 Core Classes Without special instructions, all my study notes were taken from Mr. Liao and deleted. Introduction I went around to my senior year and learned C, C++, C_#, Java, Python, one thing at a time, and finally picked up Java.Therefore, I advise you to master one object-oriented, although Python is easy to write, but after all, ...

Posted on Sun, 16 Feb 2020 12:41:31 -0500 by Rhiknow

PYTHON basic knowledge learning notes

Catalog Object persistence flat file pickle Serialize to string Serialize to file shelve String nature Summary Character encoding Encoding and decoding of byte and text Type conversion BOM processing Object persistence Object persistence: to permanently store the data results or state curr ...

Posted on Sun, 16 Feb 2020 05:58:18 -0500 by Leadwing

Android UI: usage of common controls

Last article: Getting started with Android (8): practical tips for activities I think it's a start to write program interface. Before we start to learn common controls, we will create a new UIWidgetTest project TextView Modify activity main.xml: <?xml version="1.0" encoding="utf-8"?> <LinearLa ...

Posted on Sun, 16 Feb 2020 03:07:50 -0500 by rel

WeChat official account H5 page: no sharing operation

No sharing of H5 page on wechat (sharing to friends, friends) This time we talk about two ways of implementation: the first one is correct and uncontested, and the second one is simple and available, but it doesn't guarantee correct grammar (what you just started to use, no problem)! Now let's start w ...

Posted on Sat, 15 Feb 2020 23:35:02 -0500 by Pnop