LBANN  0.103.0
LivermoreBigArtificialNeuralNetworkToolkit
helper.hpp File Reference
#include <El.hpp>
Include dependency graph for helper.hpp:

Go to the source code of this file.

Functions

void apply_elementwise (El::Matrix< uint8_t > &mat, El::Int height, El::Int width, El::Int channels, std::function< void(uint8_t &, El::Int, El::Int, El::Int)> f)
 
void identity (El::Matrix< uint8_t > &mat, El::Int height, El::Int width, El::Int channels=1)
 
void zeros (El::Matrix< uint8_t > &mat, El::Int height, El::Int width, El::Int channels=1)
 
void ones (El::Matrix< uint8_t > &mat, El::Int height, El::Int width, El::Int channels=1)
 
void print (const El::Matrix< uint8_t > &mat, El::Int height, El::Int width, El::Int channels=1)
 

Function Documentation

◆ apply_elementwise()

void apply_elementwise ( El::Matrix< uint8_t > &  mat,
El::Int  height,
El::Int  width,
El::Int  channels,
std::function< void(uint8_t &, El::Int, El::Int, El::Int)>  f 
)
inline

Definition at line 32 of file helper.hpp.

Here is the caller graph for this function:

◆ identity()

void identity ( El::Matrix< uint8_t > &  mat,
El::Int  height,
El::Int  width,
El::Int  channels = 1 
)
inline

Definition at line 48 of file helper.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ones()

void ones ( El::Matrix< uint8_t > &  mat,
El::Int  height,
El::Int  width,
El::Int  channels = 1 
)
inline

Definition at line 75 of file helper.hpp.

Here is the caller graph for this function:

◆ print()

void print ( const El::Matrix< uint8_t > &  mat,
El::Int  height,
El::Int  width,
El::Int  channels = 1 
)
inline

Definition at line 87 of file helper.hpp.

◆ zeros()

void zeros ( El::Matrix< uint8_t > &  mat,
El::Int  height,
El::Int  width,
El::Int  channels = 1 
)
inline

Definition at line 63 of file helper.hpp.