[learning deep learning compiler from scratch] XV. Lowering to LLVM IR in learning notes of MLIR Toy Tutorials
0x0. Preface
In the previous section, we transferred the Operation lowing of Toy Dialect to after dialect, MemRef Dialect and Standard Dialect, while the toy.print Operation remains unchanged, so it is also called partial lowing. Through this lowing, the lower level implementation logic of Toy Dialect's Operation can be expressed to seek more ...
Posted by WesPear on Wed, 17 Nov 2021 08:19:48 -0800
[neural network] weight decay
Weight attenuation
In the previous section, we observed the over fitting phenomenon, that is, the training error of the model is much smaller than its error on the test set. Although increasing the training data set may reduce over fitting, it is often expensive to obtain additional training data. This section describes a common method to ...
Posted by kark_1999 on Wed, 17 Nov 2021 06:27:12 -0800
[programming art] analysis of darknet load_weights interface
Welcome to my official account, reply to 001 Google programming specification. O_o >_< o_O O_o ~_~ o_O this paper analyzes darknet load_weights interface, which is mainly used to load model weights.1. darknet data loading process The previous article has introduced the data loading process of darknet target ...
Posted by VisionsOfCody on Wed, 17 Nov 2021 03:16:35 -0800
tensorflow -- identify MNIST datasets
The previous article talked about how to build our own network with keras, and explained some common parameters. This article will briefly introduce how to use the framework in the previous article to identify MNIST data sets.
MNIST dataset is already a "chewed" dataset. Many tutorials will "start" on it and almost become a ...
Posted by Soogn on Fri, 12 Nov 2021 14:24:51 -0800
Hands on learning and deep learning -- Realizing recurrent neural network RNN from scratch
[note]: the data of two books are loaded here, both of which are mentioned in Li Mu's divine book. Since the code encapsulated by Mu Shen is loaded Time machine, I copied the code of the previous two blogs here to load the Star Wars dataset. The following content is a reproduction of Mu God's curriculum and code. I will mark the knowledge p ...
Posted by pkmleo on Sun, 07 Nov 2021 23:55:29 -0800
2021-11-05 creation and common methods of pytorch Tensor
Creation and common methods of pytorch Tensor
Import pytorch package
import torch
View version number
torch.__version__
'1.7.1'
1, Basic creation and types of tensors
1. Tensor creation method
Use the pytorch tensor creation function: torch.tensor():
# Create tensor from list
t = torch.tensor([1, 2])
t
tensor([1,2])
# Creating tenso ...
Posted by benrussell on Sat, 06 Nov 2021 11:45:54 -0700
GPIO function test of NVIDIA Jetson
0 background
The Jetson TX1, TX2, AGX Xavier and Nano development boards contain a 40 pin GPIO connector, similar to the 40 pin connector in Raspberry Pi. NV officially gives a GPIO library, which is a Python version, and The RPi.GPIO Library of Raspberry Pi is the same. This paper introduces the content and usage of the library.
1 ins ...
Posted by stuffradio on Sat, 06 Nov 2021 01:30:45 -0700
R language BUGS sequence Monte Carlo SMC, Markov transformation random volatility SV model, particle filter, METROPOLIS HASTINGS time series analysis
Original link: http://tecdat.cn/?p=24162In this example, we consider Markov transformation stochastic volatility model.statistical modelLet yt be the dependent variable and xt be the unobserved logarithmic volatility of yt. For t ≤ tmax, the stochastic volatility model is defined as followsThe state variable ct follows a two state Markov pro ...
Posted by TripleDES on Fri, 05 Nov 2021 19:32:04 -0700
Deep learning from introduction to mastery -- MTCNN face detection algorithm
Look at the effect first
MTCNN
Since the MTCNN algorithm came out in 2016, the industry has become very popular. Recently, I tried to reproduce the paper code.
Subject thought
Cascade network
** This paper belongs to a multi task cascade convolutional neural network, as shown in the figure, which uses P, R and O networks for de ...
Posted by jadebabe on Fri, 05 Nov 2021 16:42:18 -0700
Python pure manual construction of BP neural network -- handwritten numeral recognition
1 Introduction to the experiment
Experimental requirements: implement a handwritten numeral recognition program, as shown in the figure below. The neural network is required to include a hidden layer, and the number of neurons in the hidden layer is 15.
Overall idea: mainly refer to the introduction of neural network in Chapter 5 of waterme ...
Posted by HockeyDevil07 on Thu, 04 Nov 2021 08:46:58 -0700