Skip to content

Instantly share code, notes, and snippets.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mani3
mani3 / custom-differentiable.ipynb
Last active December 10, 2019 07:06
Custom differentiable in Swift for TensorFlow
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mani3
mani3 / differentiable.ipynb
Created December 10, 2019 07:05
Differentiable in Swift for TensorFlow
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mani3
mani3 / numpy.ipynb
Last active December 10, 2019 07:37
Numpy in Swift for TensorFlow
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mani3
mani3 / pil.ipynb
Last active December 10, 2019 07:03
Load image in Swift for TensorFlow
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import hashlib
import io
import logging
import os
import contextlib2
from tqdm import tqdm
import numpy as np
import pandas as pd
@mani3
mani3 / table.md
Created December 4, 2014 09:12
markdown sample
Left align Right align Center align
This This This
column column column
will will will
be be be
left right center
aligned aligned aligned
@mani3
mani3 / libx264-hq-ts.ffpreset
Last active August 29, 2015 14:09
convert to mp4 from ts using ffmpeg
level=41
crf=25
cmp=+chroma
me_method=umh
subq=7
8x8dct=1
g=300
b_strategy=2
refs=4
deblock=1:1:1