@@ -35,21 +35,21 @@ namespace nietras.LargeLanguageModel
35
35
{
36
36
public static class Llm
37
37
{
38
- public static unsafe void attention_backward (float* dinp, float* dpreatt, float* datt, float* dout, float* inp, float* att, int B , int T , int C , int NH ) { }
39
- public static unsafe void attention_forward (float* output, float* preatt, float* att, float* inp, int B , int T , int C , int NH ) { }
40
- public static unsafe void crossentropy_forward (float* losses, float* probs, int* targets, int B , int T , int V ) { }
41
- public static unsafe void crossentropy_softmax_backward (float* dlogits, float* dlosses, float* probs, int* targets, int B , int T , int V ) { }
42
- public static unsafe void encoder_backward (float* dwte, float* dwpe, float* dout, int* inp, int B , int T , int C ) { }
43
- public static unsafe void encoder_forward (float* output, int* inp, float* wte, float* wpe, int B , int T , int C ) { }
44
- public static unsafe void gelu_backward (float* dinp, float* inp, float* dout, int N ) { }
45
- public static unsafe void gelu_forward (float* output, float* inp, int N ) { }
46
- public static unsafe void layernorm_backward (float* dinp, float* dweight, float* dbias, float* dout, float* inp, float* weight, float* mean, float* rstd, int B , int T , int C ) { }
47
- public static unsafe void layernorm_forward (float* output, float* mean, float* rstd, float* inp, float* weight, float* bias, int B , int T , int C ) { }
48
- public static unsafe void matmul_backward (float* dinp, float* dweight, float* dbias, float* dout, float* inp, float* weight, int B , int T , int C , int OC ) { }
49
- public static unsafe void matmul_forward (float* output, float* inp, float* weight, float* bias, int B , int T , int C , int OC ) { }
50
- public static unsafe void residual_backward (float* dinp1, float* dinp2, float* dout, int N ) { }
51
- public static unsafe void residual_forward (float* output, float* inp1, float* inp2, int N ) { }
52
- public static unsafe void softmax_forward (float* probs, float* logits, int B , int T , int V ) { }
38
+ public static unsafe void AttentionBackward (float* dinp, float* dpreatt, float* datt, float* dout, float* inp, float* att, int B , int T , int C , int NH ) { }
39
+ public static unsafe void AttentionForward (float* output, float* preatt, float* att, float* inp, int B , int T , int C , int NH ) { }
40
+ public static unsafe void CrossEntropyForward (float* losses, float* probs, int* targets, int B , int T , int V ) { }
41
+ public static unsafe void CrossEntropySoftmaxBackward (float* dlogits, float* dlosses, float* probs, int* targets, int B , int T , int V ) { }
42
+ public static unsafe void EncoderBackward (float* dwte, float* dwpe, float* dout, int* inp, int B , int T , int C ) { }
43
+ public static unsafe void EncoderForward (float* output, int* inp, float* wte, float* wpe, int B , int T , int C ) { }
44
+ public static unsafe void GeLUBackward (float* dinp, float* inp, float* dout, int N ) { }
45
+ public static unsafe void GeLUForward (float* output, float* inp, int N ) { }
46
+ public static unsafe void LayerNormBackward (float* dinp, float* dweight, float* dbias, float* dout, float* inp, float* weight, float* mean, float* rstd, int B , int T , int C ) { }
47
+ public static unsafe void LayerNormForward (float* output, float* mean, float* rstd, float* inp, float* weight, float* bias, int B , int T , int C ) { }
48
+ public static unsafe void MatMulBackward (float* dinp, float* dweight, float* dbias, float* dout, float* inp, float* weight, int B , int T , int C , int OC ) { }
49
+ public static unsafe void MatMulForward (float* output, float* inp, float* weight, float* bias, int B , int T , int C , int OC ) { }
50
+ public static unsafe void ResidualBackward (float* dinp1, float* dinp2, float* dout, int N ) { }
51
+ public static unsafe void ResidualForward (float* output, float* inp1, float* inp2, int N ) { }
52
+ public static unsafe void SoftmaxForward (float* probs, float* logits, int B , int T , int V ) { }
53
53
}
54
54
}
55
55
```
0 commit comments