siro1 HF staff commited on
Commit
a685252
·
verified ·
1 Parent(s): 7292300
Files changed (1) hide show
  1. src/index.qmd +1 -1
src/index.qmd CHANGED
@@ -77,7 +77,7 @@ def kl_div_triton(
77
  ```python
78
  import torch
79
 
80
- class VectorAdd(torch.autograd.Function):
81
  @staticmethod
82
  def forward(ctx, p, q):
83
  ctx.save_for_backward(q)
 
77
  ```python
78
  import torch
79
 
80
+ class KlDiv(torch.autograd.Function):
81
  @staticmethod
82
  def forward(ctx, p, q):
83
  ctx.save_for_backward(q)