(p, indices, update=True)
| 247 | def inputMatrix(v, d): return GVExpr('inputMatrix', [v, d], make_dim(d, inferred=True)) |
| 248 | def lookup(p, index=0, update=True): return GVExpr('lookup', [p, index, update], p.dim) |
| 249 | def lookup_batch(p, indices, update=True): return GVExpr('lookup_batch', [p, indices, update], p.dim) |
| 250 | def pick(a, index=0, dim=0): return GVExpr('pick', [a, index], make_dim(1, inferred=True)) |
| 251 | def pick_batch(a, indices, dim=0): return GVExpr('pick_batch', [a, indices], make_dim(len(indices), inferred=True)) |
| 252 | def hinge(x, index, m=1.0): return GVExpr('hinge', [x, index, m], copy_dim(x)) |
no test coverage detected