|
LBANN
0.103.0
LivermoreBigArtificialNeuralNetworkToolkit
|
Functions | |
| template<typename S , typename T , typename U , typename F > | |
| void | EntrywiseZipInto (El::Matrix< S, El::Device::CPU > const &A, El::Matrix< T, El::Device::CPU > const &B, El::Matrix< U, El::Device::CPU > &C, F func) |
| A binary entrywise map c <- f(a,b). More... | |
| template<typename DataT , typename F > | |
| void | apply_binary_backprop_operator (El::Matrix< DataT, El::Device::CPU > const &x1, El::Matrix< DataT, El::Device::CPU > const &x2, El::Matrix< DataT, El::Device::CPU > const &dy, El::Matrix< DataT, El::Device::CPU > &dx1, El::Matrix< DataT, El::Device::CPU > &dx2, F f) |
| template<typename S , typename T , typename U , typename R , typename F > | |
| void | EntrywiseZipInto (El::Matrix< S, El::Device::CPU > const &A, El::Matrix< T, El::Device::CPU > const &B, El::Matrix< U, El::Device::CPU > const &C, El::Matrix< R, El::Device::CPU > &D, F func) |
| A ternary entrywise map c <- f(a,b,c). More... | |
| template<typename DataT , typename F > | |
| void | apply_ternary_backprop_operator (El::Matrix< DataT, El::Device::CPU > const &x1, El::Matrix< DataT, El::Device::CPU > const &x2, El::Matrix< DataT, El::Device::CPU > const &x3, El::Matrix< DataT, El::Device::CPU > const &dy, El::Matrix< DataT, El::Device::CPU > &dx1, El::Matrix< DataT, El::Device::CPU > &dx2, El::Matrix< DataT, El::Device::CPU > &dx3, F f) |
| void lbann::internal::apply_binary_backprop_operator | ( | El::Matrix< DataT, El::Device::CPU > const & | x1, |
| El::Matrix< DataT, El::Device::CPU > const & | x2, | ||
| El::Matrix< DataT, El::Device::CPU > const & | dy, | ||
| El::Matrix< DataT, El::Device::CPU > & | dx1, | ||
| El::Matrix< DataT, El::Device::CPU > & | dx2, | ||
| F | f | ||
| ) |
Apply a binary backprop operator to CPU data. The input and output data must be on CPU and must have the same dimensions. Given a binary function
, the corresponding BinaryBackPropOperator is a 5-ary function with the arguments
,
,
,
,
. The last two arguments should be overwritten when the BinaryBackPropOperator is called.
Definition at line 88 of file operators/math/common.hpp.
| void lbann::internal::apply_ternary_backprop_operator | ( | El::Matrix< DataT, El::Device::CPU > const & | x1, |
| El::Matrix< DataT, El::Device::CPU > const & | x2, | ||
| El::Matrix< DataT, El::Device::CPU > const & | x3, | ||
| El::Matrix< DataT, El::Device::CPU > const & | dy, | ||
| El::Matrix< DataT, El::Device::CPU > & | dx1, | ||
| El::Matrix< DataT, El::Device::CPU > & | dx2, | ||
| El::Matrix< DataT, El::Device::CPU > & | dx3, | ||
| F | f | ||
| ) |
Apply a ternary backprop operator to CPU data. The input and output data must be on CPU and must have the same dimensions. Given a ternary function
, the corresponding TernaryBackPropOperator is a 6-ary function with the arguments
,
,
,
,
,
,
. The last three arguments should be overwritten when the TernaryBackPropOperator is called.
Definition at line 182 of file operators/math/common.hpp.
| void lbann::internal::EntrywiseZipInto | ( | El::Matrix< S, El::Device::CPU > const & | A, |
| El::Matrix< T, El::Device::CPU > const & | B, | ||
| El::Matrix< U, El::Device::CPU > & | C, | ||
| F | func | ||
| ) |
A binary entrywise map c <- f(a,b).
Definition at line 38 of file operators/math/common.hpp.
| void lbann::internal::EntrywiseZipInto | ( | El::Matrix< S, El::Device::CPU > const & | A, |
| El::Matrix< T, El::Device::CPU > const & | B, | ||
| El::Matrix< U, El::Device::CPU > const & | C, | ||
| El::Matrix< R, El::Device::CPU > & | D, | ||
| F | func | ||
| ) |
A ternary entrywise map c <- f(a,b,c).
Definition at line 125 of file operators/math/common.hpp.