TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
Main Page
Namespaces
Classes
common
autograd
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
common::normalPDF
torch::Tensor normalPDF(torch::Tensor x, torch::Tensor mean, torch::Tensor std)
Compute the PDF of the normal law.
Definition:
distributions.cpp:17
std
STL namespace.
common
General utilities.
Definition:
assert.cpp:7
Generated on Wed Apr 17 2019 18:31:56 for TorchCraftAI by
1.8.11