Skip to content

Instantly share code, notes, and snippets.

Beniamin Kalinowski BeniaminK

  • Warsaw, Poland
Block or report user

Report or block BeniaminK

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View grid_sample.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BeniaminK /
Created Oct 6, 2018 — forked from karpathy/
Minimal character-level language model with a Vanilla Recurrent Neural Network, in Python/numpy
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)
View Matrix
Matrix := Object clone
Matrix mainList := list()
Matrix dim := method(x, y,
for(i, 1, x, mainList push(list()))
for(i, 1, x, mainList foreach(arr, arr setSize(y)))
View gist:389d14f8de27f89599a6
#include <iostream>
using namespace std;
int main()
double tab[10] = { 7, 8, 6, 4, 5, 9, 0, 3, 1, 2 };
double srednia = 0;
for (int i = 0; i < 10; i++)
cout << tab[i] << "\t";
View zwracanie_struktur
#include <iostream>
using namespace std;
struct suma_roznica
int suma;
int roznica;
You can’t perform that action at this time.