This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # 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): |
NewerOlder