MagmaDNN
1.0
c++NeuralNetworkFramework
pow.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#include <cmath>
13
#include "
tensor/tensor.h
"
14
15
namespace
magmadnn
{
16
namespace
math {
17
18
19
template
<
typename
T>
20
void
pow(Tensor<T> *x,
int
power, Tensor<T> *out);
21
22
#if defined(_HAS_CUDA_)
23
template
<
typename
T>
24
void
pow_device(Tensor<T> *x,
int
power, Tensor<T> *out);
25
#endif
26
27
28
}
29
}
magmadnn
Definition:
addop.cpp:11
tensor.h
include
math
pow.h
Generated by
1.8.13