forward.json 768 Bytes
Newer Older
rusty1s's avatar
rusty1s committed
1
2
3
4
5
6
7
8
[
  {
    "name": "add",
    "output": [[0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0]],
    "index": [[4, 5, 4, 2, 3], [0, 0, 2, 2, 1]],
    "input": [[2, 0, 1, 4, 3], [0, 2, 1, 3, 4]],
    "dim": 1,
    "expected": [[0, 0, 4, 3, 3, 0], [2, 4, 4, 0, 0, 0]]
rusty1s's avatar
bugfix  
rusty1s committed
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  },
  {
    "name": "sub",
    "output": [[0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0]],
    "index": [[4, 5, 4, 2, 3], [0, 0, 2, 2, 1]],
    "input": [[2, 0, 1, 4, 3], [0, 2, 1, 3, 4]],
    "dim": 1,
    "expected": [[0, 0, -4, -3, -3, 0], [-2, -4, -4, 0, 0, 0]]
  },
  {
    "name": "mul",
    "output": [[1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1]],
    "index": [[4, 5, 4, 2, 3], [0, 0, 2, 2, 1]],
    "input": [[2, 0, 1, 4, 3], [0, 2, 1, 3, 4]],
    "dim": 1,
    "expected": [[1, 1, 4, 3, 2, 0], [0, 4, 3, 1, 1, 1]]
rusty1s's avatar
rusty1s committed
25
26
  }
]