Ruining Li
Init: add PartField + particulate, track example assets via LFS
4f22fc0
raw
history blame contribute delete
162 Bytes
import torch.nn as nn
from . import functional as F
__all__ = ['KLLoss']
class KLLoss(nn.Module):
def forward(self, x, y):
return F.kl_loss(x, y)