start new:
tmux
start new with session name:
tmux new -s myname
| """ | |
| Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
| BSD License | |
| """ | |
| import numpy as np | |
| # data I/O | |
| data = open('input.txt', 'r').read() # should be simple plain text file | |
| chars = list(set(data)) | |
| data_size, vocab_size = len(data), len(chars) |
| # -*- coding: utf-8 -*- | |
| """ | |
| Reproducing the results of Auto-Encoding Variational Bayes by Kingma and Welling | |
| With a little help from the code from van Amersfoort and Otto Fabius (https://github.com/y0ast) | |
| @author: Pedro Tabacof (tabacof at gmail dot com) | |
| """ | |
| import random | |
| import numpy as np |
| /* | |
| ** Binary Search Tree implementation in C++ | |
| ** Harish R | |
| */ | |
| #include<iostream> | |
| using namespace std; | |
| class BST { | |
| struct node { |