Skip to content

Instantly share code, notes, and snippets.

View stromnov's full-sized avatar
:octocat:

Andrey Stromnov stromnov

:octocat:
View GitHub Profile
@stromnov
stromnov / private_fork.md
Created June 28, 2023 09:24 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@stromnov
stromnov / std.cpp
Created March 3, 2021 13:01 — forked from mahuna13/std.cpp
standard library functions for Halide
#include "std_try.h"
#include <math.h>
using namespace Halide;
#define PI 3.14159
/*
Interpolations
*/
@stromnov
stromnov / dawg.py
Created October 23, 2017 10:59 — forked from smhanov/dawg.py
Use a DAWG as a map
#!/usr/bin/python3
# By Steve Hanov, 2011. Released to the public domain.
# Please see http://stevehanov.ca/blog/index.php?id=115 for the accompanying article.
#
# Based on Daciuk, Jan, et al. "Incremental construction of minimal acyclic finite-state automata."
# Computational linguistics 26.1 (2000): 3-16.
#
# Updated 2014 to use DAWG as a mapping; see
# Kowaltowski, T.; CL. Lucchesi (1993), "Applications of finite automata representing large vocabularies",
# Software-Practice and Experience 1993
name: "RED-Net"
input: "data"
input_dim: 1
input_dim: 1
input_dim: 256
input_dim: 256
# conv1
layer {
name: "conv1"
name: "P40_MemNet_M6R6_80C64"
input: "data"
input_dim: 1
input_dim: 1
input_dim: 144
input_dim: 144
layer {
name: "bn_conv1"
type: "BatchNorm"
bottom: "data"