[deep learning] village to network -- on the new features of tensorflow Eagle execution mechanism

Article directory Preface Convolution directly using operation Automatically calculate gradient (derivative) Calculate the gradient of all parameters Calculate the gradient of all variables Using Python program flow to control model flow Automatic optimization Preface This article is [deep lea ...

Posted by bubatalazi on Thu, 13 Feb 2020 02:09:50 -0800

mybatis - Execute getById

1. Execution of getById Previous As mentioned, when Mapper.java is created, it is created as a jdk proxy and the proxy processing class is MapperProxy. So when the getById method of UserMapper is executed, the invoke method is executed in MapperProxy. //MapperProxy.java @Override public Object invoke(Object proxy, Method method, Object[ ...

Posted by Darkwoods on Wed, 12 Feb 2020 10:28:46 -0800

CI framework extended system class library

Ci framework does not support creating CommonController directly under controllers and inheriting the parent class like yii2 framework. When we want to do login control or permission control, it is unreasonable to operate directly on the parent class controller. At this time, the more convenient method is to extend the CI controller of the pare ...

Posted by ultraviolet_998 on Mon, 10 Feb 2020 07:33:56 -0800

tensorflow learning notes + program simple neural network and MNIST data set

Simple neural network for regression problem import tensorflow as tf import numpy as np import matplotlib.pyplot as plt # Generate random points x_data = np.linspace(-0.5,0.5,200)[:,np.newaxis] # [:, np.newaxis] add a dimension to X ﹣ u data. The original data and the original type remain the sa ...

Posted by Loryman on Sun, 09 Feb 2020 06:40:32 -0800

Introduction to deep learning: using long and short-term memory network to predict exchange rate

In the first two blog posts, we introduced Introduction to deep learning (1) --- image recognition with convolutional neural network (1) and Introduction to deep learning (1) --- image recognition with convolutional neural network (2) In this paper, we will introduce the application of long-term and sho ...

Posted by allyse on Sat, 08 Feb 2020 05:22:17 -0800

# Essential C++ Reading Notes #Chapter IV Object-based Programming Style

Fundamentals The definition of a Class consists of two parts: the declaration of the class and the body immediately following the declaration.The main part is enclosed by a pair of braces and ends with a semicolon.Two keywords within the principal, public and private, are used to denote "member access" for each block.Public member s c ...

Posted by Neoraven456 on Fri, 07 Feb 2020 19:44:53 -0800

The similarities and differences of HashMap and ConcurrentHashMap modification in single thread and multi thread traversal

1, Scenario introduction JRBM has a demand for detecting the online situation of team Websocket: The existing concurrenthashmap < teamid, jrbmsession > map, jrbmsession includes session and lastlivetime. The front end sends heartbeat to the service end through ws connection every 3s. After re ...

Posted by HaXoRL33T on Thu, 06 Feb 2020 04:28:58 -0800

Python Crawler Serial 5-Proxy, Cookie Resolution

1. ProxyHandler Processing (Proxy Server) 1. Using proxy IP is a common means of crawling 2. Get the address of the proxy server: www.xicidaili.com www.goubanjia.com 3. Proxies are used to hide real access. Proxies do not allow frequent access to a fixed site, so proxies must be many. 4. Basic usage steps: (1) Set proxy address (2) Create a Pox ...

Posted by landavia on Wed, 05 Feb 2020 08:49:12 -0800

It took 20 minutes to write a web group chat program for girlfriends

WebSocket details WebSocket is a full duplex communication protocol provided by HTML5 on a single TCP connection. WebSocket makes the data exchange between the client and the server easier, allowing the server to actively push data to the client. In the WebSocket API, the browser and server only need to complete one handshake, and they can dir ...

Posted by affordit on Tue, 04 Feb 2020 04:38:12 -0800

037 Python multitasking process & thread & Co process

Article directory 1. Understand multitask programming 2. Multi process programming 2.1 understanding process 2.2 create subprocess 2.2.1 method 1: fork creates a subprocess 2.2.2 method 2: Process creates a subprocess 2.2.3 method 3: Pool creates a subprocess 2.3 interprocess communication 3. Mul ...

Posted by blkraven on Tue, 04 Feb 2020 02:57:08 -0800