火炬,有没有高斯功能模块?

时间:2016-08-30 14:23:42

标签: probability torch activation

我要在火炬中实施probabilistic neural network

要做到这一点,我需要一个实现高斯功能模块的模块。我需要像nn.Gaussian()这样的东西,但它不存在。

我如何将此功能用作模块? 你知道高斯作为模块的任何实现吗?

1 个答案:

答案 0 :(得分:0)

Could this package from DeepMind help you?

Usage:

th> require 'distributions'
th> distributions.norm.pdf(1.96, 0, 1)
0.058440944333451   
相关问题