TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
distributions.h
1 /*
2  * Copyright (c) 2017-present, Facebook, Inc.
3  *
4  * This source code is licensed under the MIT license found in the
5  * LICENSE file in the root directory of this source tree.
6  */
7 
8 #pragma once
9 
10 #include <autogradpp/autograd.h>
11 
12 namespace common {
13 
14 /// Compute the PDF of the normal law
15 torch::Tensor normalPDF(torch::Tensor x, torch::Tensor mean, torch::Tensor std);
16 torch::Tensor normalPDF(torch::Tensor x, torch::Tensor mean, double std);
17 
18 } // namespace common
torch::Tensor normalPDF(torch::Tensor x, torch::Tensor mean, torch::Tensor std)
Compute the PDF of the normal law.
Definition: distributions.cpp:17
STL namespace.
General utilities.
Definition: assert.cpp:7