Skip to content

Instantly share code, notes, and snippets.

View andrei-pokrovsky's full-sized avatar

Andrei Pokrovsky andrei-pokrovsky

View GitHub Profile
@andrei-pokrovsky
andrei-pokrovsky / sample.py
Last active January 29, 2018 11:58
Basic SBNet sample
#
# A minimal sample implementing a single sparse convolution layer with synthetic data using SBNet primitives.
#
import numpy as np
import tensorflow as tf
sbnet_module = tf.load_op_library('../libsbnet.so')
def divup(a, b):