Skip to content

Commit

Permalink
Squashed 'hpc' changes from f7d1abc..47bdd5f (#574)
Browse files Browse the repository at this point in the history
47bdd5f Merge pull request #127 from changg/wa_for_u280
d98ffc1 fix utils.mk
408860d Merge pull request #126 from changg/wa_for_u280
26fa6b4 wa for u280
50b4c4a Merge pull request #125 from changg/fix_metajson
36dba73 revert the file
51966db fix metajson
2c3e837 Merge pull request #124 from changg/round2-mks
1a6d30e fix mks

Co-authored-by: sdausr <sdausr@xilinx.com>
  • Loading branch information
2 people authored and GitHub Enterprise committed Apr 15, 2022
1 parent 609c190 commit 49e5d3b
Show file tree
Hide file tree
Showing 58 changed files with 9,508 additions and 4,808 deletions.
6 changes: 6 additions & 0 deletions hpc/L1/include/hw/cgSolver/tasks.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ namespace xf {
namespace hpc {
namespace cg {

/**
* @brief Basic CG components: Task
*
* @tparam t_DataType is the datatype
*
*/
template <typename t_DataType>
class Task {
public:
Expand Down
6 changes: 6 additions & 0 deletions hpc/L1/include/hw/cgSolver/token.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ namespace xf {
namespace hpc {
namespace cg {

/**
* @brief Basic CG components: Token
*
* @tparam t_DataType is the datatype
*
*/
template <typename t_DataType>
class Token {
public:
Expand Down
3 changes: 3 additions & 0 deletions hpc/L1/include/hw/mlp/activations.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ t_DataType FcnScalePRelu(t_DataType x, int16_t p_PReluVal) {
/** @brief relu (rectified linear unit) is a very common activation function in
* deep neural network
*
* @tparam t_DataType is data type
* @param x is the input value
*/
template <typename t_DataType>
Expand All @@ -67,6 +68,7 @@ t_DataType relu(t_DataType x) {

/** @brief sigmoid function is a very common activation function in MLP
*
* @tparam t_DataType is data type
* @param x is the input value
*/
template <typename t_DataType>
Expand All @@ -77,6 +79,7 @@ t_DataType sigmoid(t_DataType x) {

/** @brief tansig function is used as an activation function in some MLPs
*
* @tparam t_DataType is data type
* @param x is the input value
*/
template <typename t_DataType>
Expand Down
Loading

0 comments on commit 49e5d3b

Please sign in to comment.