Browse Source

Create add.pl

pull/3/head
troyyyyy GitHub 3 years ago
parent
commit
53586d94f8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      examples/datasets/mnist_add/add.pl

+ 2
- 0
examples/datasets/mnist_add/add.pl View File

@@ -0,0 +1,2 @@
pseudo_label(N) :- between(0, 9, N).
logic_forward([Z1, Z2], Res) :- pseudo_label(Z1), pseudo_label(Z2), Res is Z1+Z2.

Loading…
Cancel
Save