mxnet
|
Basic utilility functions. More...
#include <memory>
#include <vector>
#include <type_traits>
#include <utility>
#include <random>
#include <string>
#include <thread>
#include <algorithm>
#include <dmlc/logging.h>
#include <mxnet/engine.h>
Go to the source code of this file.
Classes | |
struct | mxnet::common::helper::UniqueIf< T > |
Helper for non-array type T . More... | |
struct | mxnet::common::helper::UniqueIf< T[]> |
Helper for an array of unknown bound T . More... | |
struct | mxnet::common::helper::UniqueIf< T[kSize]> |
Helper for an array of known bound T . More... | |
Namespaces | |
mxnet | |
namespace of mxnet | |
mxnet::common | |
mxnet::common::helper | |
Helper functions. | |
Typedefs | |
typedef std::mt19937 | mxnet::common::RANDOM_ENGINE |
Random Engine. More... | |
Functions | |
int | mxnet::common::GetNumThreadPerGPU () |
int | mxnet::common::GetExecNumMatchColor () |
template<class T , class... Args> | |
helper::UniqueIf< T >::SingleObject | mxnet::common::MakeUnique (Args &&...args) |
Constructs an object of type T and wraps it in a std :: unique_ptr . More... | |
template<class T > | |
helper::UniqueIf< T >::UnknownBound | mxnet::common::MakeUnique (size_t n) |
Constructs an object of type T and wraps it in a std :: unique_ptr . More... | |
template<class T , class... Args> | |
helper::UniqueIf< T >::KnownBound | mxnet::common::MakeUnique (Args &&...args)=delete |
Constructs an object of type T and wraps it in a std :: unique_ptr . More... | |
template<typename FCompType > | |
FCompType | mxnet::common::GetFCompute (const nnvm::Op *op, const std::string &name, const Context &ctx) |
Basic utilility functions.