Skip to content

Instantly share code, notes, and snippets.

@cipharius
Created August 18, 2018 08:50
Show Gist options
  • Save cipharius/03dca2e1c53a747c6244c1243fe5a0c6 to your computer and use it in GitHub Desktop.
Save cipharius/03dca2e1c53a747c6244c1243fe5a0c6 to your computer and use it in GitHub Desktop.
for slice in inputTensor.axis(0):
if slice[0, dotProductColumn] >= 0:
a.add(slice)
else:
b.add(slice)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment