Class LayoutOps
java.lang.Object
io.github.kirstenali.deepj.autograd.LayoutOps
-
Method Summary
Modifier and TypeMethodDescriptionstatic TensorbatchedMatmul(Tensor a, Tensor b, int batches, boolean ta, boolean tb) static Tensorstatic TensorindexSelect(Tensor input, int axis, int[] indices) static TensormergeHeads(Tensor input, int heads) static Tensorstatic TensorsplitHeads(Tensor input, int heads)
-
Method Details
-
indexSelect
-
gather
-
splitHeads
-
mergeHeads
-
batchedMatmul
-
rotary
-