Skip to content

Instantly share code, notes, and snippets.


Avik Pal avik-pal

View GitHub Profile

Keybase proof

I hereby claim:

  • I am avik-pal on github.
  • I am avikpal ( on keybase.
  • I have a public key ASAO4jnq8NTkcyXfyHvWCEeTYsU1k9NlfhG7eSFCz5MVbgo

To claim this, I am signing this object:

View Manifest.toml
# This file is machine-generated - editing it directly is not advised
deps = ["LinearAlgebra"]
git-tree-sha1 = "380e36c66edfa099cd90116b24c1ce8cafccac40"
uuid = "621f4979-c628-5d54-868e-fcf4e3e8185c"
version = "0.4.1"
deps = ["Markdown", "Test"]
avik-pal / triangle_coordinates.jl
Last active May 15, 2019
Optimizing the triangle coordinates using RayTracer.jl
View triangle_coordinates.jl
using RayTracer, Zygote, Flux, Images, Statistics, LinearAlgebra
# Convenience Functions
function create_and_save(color, val)
img = get_image(color, screen_size.w, screen_size.h)
save("images/triangle_$(val).jpg", img)
# Define the Original Scene Parameters
avik-pal / cnnvisualize.ipynb
Created Aug 18, 2018
Demo showing the use of CNNVisualize.jl
View cnnvisualize.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
avik-pal /
Last active May 30, 2018
Benchmarks for Seperable Convolutions in NNlib.jl

Benchmarks for Separable Convolutions in NNlib.jl

NOTE: All the times mentioned are in seconds and only the forward passes are being considered. The reported time is the mean of time for ten iterations.
NOTE: Separable Convolutions => Depthwise Convolution --> Pointwise Convolution. The reverse is also a popular alternative but it might end up taking more time
Input Dimensions Output Dimensions Separable Convolutions Convolutions
32x32x3x1 32x32x32x1 0.000673 0.000910
32x32x64x1 0.001390 0.001698