This post verifies the core writing surface for a deep learning research blog: mathematical notation, code blocks, external links, generated math artifacts, and a JavaScript simulation.
Inline math works with passthrough delimiters: .
Display math works as well:
Code blocks use Hugo syntax highlighting and PaperMod copy controls:
import torch
def cosine_similarity(x: torch.Tensor, y: torch.Tensor) -> torch.Tensor:
x = torch.nn.functional.normalize(x, dim=-1)
y = torch.nn.functional.normalize(y, dim=-1)
return x @ y.T
External links such as Hugo are rendered with safer external-link attributes.
Static artifacts can live next to the post.
Loading simulation...