Skip to content

Commit

Permalink
Flesh out most of AstGatherS
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikolaj committed Dec 26, 2024
1 parent 89416e4 commit 56dab16
Show file tree
Hide file tree
Showing 5 changed files with 364 additions and 35 deletions.
2 changes: 1 addition & 1 deletion src/HordeAd/Core/Ast.hs
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ data AstTensor :: AstMethodOfSharing -> AstSpanType -> TensorKindType
AstFromVectorS :: (KnownNat n, KnownShS sh, TensorKind r)
=> Data.Vector.Vector (AstTensor ms s (TKS2 sh r))
-> AstTensor ms s (TKS2 (n ': sh) r)
AstAppendS :: (KnownNat n, KnownNat m, KnownShS sh, TensorKind r)
AstAppendS :: (KnownNat m, KnownNat n, KnownShS sh, TensorKind r)
=> AstTensor ms s (TKS2 (m ': sh) r)
-> AstTensor ms s (TKS2 (n ': sh) r)
-> AstTensor ms s (TKS2 ((m + n) ': sh) r)
Expand Down
Loading

0 comments on commit 56dab16

Please sign in to comment.