Skip to content

Instantly share code, notes, and snippets.

Avatar
👀
I may be slow to respond.

Fangjun Kuang csukuangfj

👀
I may be slow to respond.
View GitHub Profile
View arm-notes.md

Deep Learning

  • https://github.com/ARM-software/CMSIS_5/blob/develop/CMSIS/NN/Include/arm_nnfunctions.h
  • a paper [CMSIS-NN: Efficient Neural Network Kernels for Arm Cortex-M CPUs][1], google scolar of the author [Liangzhen Lai][2]
  • a paper [Fixed point quantization of deep convolutional networks][3]
  • a paper [Deep Convolutional Neural Network Inference with Floating-point Weights and Fixed-point Activations][4]
  • a blog [Why GEMM is at the heart of deep learning][5]
  • a paper [cuDNN: Efficient Primitives for Deep Learning][6]
@csukuangfj
csukuangfj / cpp-create-wav.cc
Created Apr 22, 2019
create wav file using c++
View cpp-create-wav.cc
// author: fangjun kuang <csukuangfj at gmail dot com>
// date: Apr. 22, 2019
// refer to http://www.topherlee.com/software/pcm-tut-wavformat.html
#include <fstream>
#include <iostream>
typedef struct WAV_HEADER {
/* RIFF Chunk Descriptor */
@csukuangfj
csukuangfj / QGraphicsSceneTest.cpp
Last active Jun 12, 2020 — forked from benjbaron/QGraphicsSceneTest.cpp
Qt QGraphicsScene click, select, move, resize, delete QGraphicsItems
View QGraphicsSceneTest.cpp
// Copyright 2017. All Rights Reserved.
// Author: csukuangfj@gmail.com (Fangjun Kuang)
#include <QtGui>
#include <QGraphicsRectItem>
#include <QGraphicsView>
#include <QApplication>
#include <QGraphicsSceneMouseEvent>
class CustomItem : public QGraphicsEllipseItem
@csukuangfj
csukuangfj / default-linker-script.txt
Last active Apr 1, 2020
This file shows the default linker script of `ld`, use `ld --verbose` to show it.
View default-linker-script.txt
GNU ld (GNU Binutils for Ubuntu) 2.25.1
Supported emulations:
elf_x86_64
elf32_x86_64
elf_i386
i386linux
elf_l1om
elf_k1om
i386pep
i386pe
@csukuangfj
csukuangfj / spline.c
Last active Jul 6, 2019 — forked from svdamani/spline.c
Natural Cubic Spline Interpolation in C
View spline.c
/** Numerical Analysis 9th ed - Burden, Faires (Ch. 3 Natural Cubic Spline, Pg. 149) */
#include <stdio.h>
int main() {
/** Step 0 */
int n, i, j;
scanf("%d", &n);
n--;
float x[n + 1], a[n + 1], h[n], A[n], l[n + 1],
u[n + 1], z[n + 1], c[n + 1], b[n], d[n];
View effective_modern_cmake.md

Effective Modern CMake

Getting Started

For a brief user-level introduction to CMake, watch C++ Weekly, Episode 78, Intro to CMake by Jason Turner. LLVM’s CMake Primer provides a good high-level introduction to the CMake syntax. Go read it now.

After that, watch Mathieu Ropert’s CppCon 2017 talk Using Modern CMake Patterns to Enforce a Good Modular Design (slides). It provides a thorough explanation of what modern CMake is and why it is so much better than “old school” CMake. The modular design ideas in this talk are based on the book [Large-Scale C++ Software Design](https://www.amazon.de/Large-Scale-Soft

@csukuangfj
csukuangfj / project_1.md
Created Oct 17, 2017 — forked from anonymous/project_1.md
Project READMEs - 3D Reconstruction with Computer Vision
View project_1.md

Project 1: Panorama stitching

Due: 23 Sept 2014, 11:59pm

In this project, you'll write software that stitches multiple images of a scene together into a panorama automatically. A panorama is a composite image that has a wider field of view than a single image, and can combine images taken at different times for interesting effects.

Your image stitcher will, at a minimum, do the following:

View RNN-notes
- a blog article https://colah.github.io/posts/2015-08-Understanding-LSTMs/
You can’t perform that action at this time.