Skip to content

Instantly share code, notes, and snippets.

View bartvm's full-sized avatar

Bart van Merriënboer bartvm

View GitHub Profile
@bartvm
bartvm / dl-frameworks.rst
Last active December 7, 2020 18:18
A comparison of deep learning frameworks

A comparison of Theano with other deep learning frameworks, highlighting a series of low-level design choices in no particular order.

Overview

Symbolic: Theano, CGT; Automatic: Torch, MXNet

Symbolic and automatic differentiation are often confused or used interchangeably, although their implementations are significantly different.

th test/test_qr.lua
Running 36 tests
_____________*_*_*_*________________ ==> Done Completed 193792 asserts in 36 tests with 16 errors
--------------------------------------------------------------------------------
randomMediumQR_inPlace_torch.FloatTensor
QR = A
TensorEQ(==) violation val=1.5631318092346e-05, condition=1e-05
/Users/bartvm/torch/install/share/lua/5.1/torch/Tester.lua:61: in function 'assertTensorEq'
test/test_qr.lua:80: in function 'checkQR'
@bartvm
bartvm / blocks_log_api.py
Last active August 29, 2015 14:22
REST API to SQLite Blocks log
import argparse
import sqlite3
from uuid import UUID
from flask import g, json, Flask
from blocks.config import config
from blocks.log.sqlite import ANCESTORS_QUERY
app = Flask(__name__)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.