らんだむな記憶

blogというものを体験してみようか!的なー

損失関数としてのコサイン類似度

torch.nn — PyTorch master documentation
おぉ、一応存在するんだな。