Neuron Net
Functions
NeuroNet.cl File Reference

NeuroNet.cl Library consist OpenCL kernels. More...

Go to the source code of this file.

Functions

__kernel void FeedForward (__global double *matrix_w, __global double *matrix_i, __global double *matrix_o, int inputs, int activation)
 Describes the forward path process for the Neuron Base (CNeuronBaseOCL). More...
 
__kernel void CalcOutputGradient (__global double *matrix_t, __global double *matrix_o, __global double *matrix_ig, int activation)
 Describes the process of output gradients calculation for the Neuron Base (CNeuronBaseOCL). More...
 
__kernel void CalcHiddenGradient (__global double *matrix_w, __global double *matrix_g, __global double *matrix_o, __global double *matrix_ig, int outputs, int activation)
 Describes the process of hidden gradients calculation for the Neuron Base (CNeuronBaseOCL). More...
 
__kernel void UpdateWeightsMomentum (__global double *matrix_w, __global double *matrix_g, __global double *matrix_i, __global double *matrix_dw, int inputs, double learning_rates, double momentum)
 Describes the process of SGD optimization weights for the Neuron Base (CNeuronBaseOCL). More...
 
__kernel void UpdateWeightsAdam (__global double *matrix_w, __global const double *matrix_g, __global const double *matrix_i, __global double *matrix_m, __global double *matrix_v, const int inputs, const double l, const double b1, const double b2)
 Describes the process of Adam optimization weights for the Neuron Base (CNeuronBaseOCL). More...
 
__kernel void FeedForwardProof (__global double *matrix_i, __global double *matrix_o, int inputs, int window, int step)
 Kernel of the Pooling neuron for Feed forward process (CNeuronProofOCL) More...
 
__kernel void CalcInputGradientProof (__global double *matrix_i, __global double *matrix_g, __global double *matrix_o, __global double *matrix_ig, int outputs, int window, int step)
 Kernel of the Pooling neuron to transfer gradient to previous layer (CNeuronProofOCL) More...
 
__kernel void FeedForwardConv (__global double *matrix_w, __global double *matrix_i, __global double *matrix_o, int inputs, int step, int window_in, int window_out, uint activation)
 Kernel of the Convolution neuron for Feed forward process (CNeuronConvOCL) More...
 
__kernel void CalcHiddenGradientConv (__global double *matrix_w, __global double *matrix_g, __global double *matrix_o, __global double *matrix_ig, int outputs, int step, int window_in, int window_out, uint activation)
 Kernel of the Convolution neuron to transfer gradient to previous layer (CNeuronConvOCL) More...
 
__kernel void UpdateWeightsConvMomentum (__global double *matrix_w, __global double *matrix_g, __global double *matrix_i, __global double *matrix_dw, int inputs, double learning_rates, double momentum, int window_in, int window_out, int step)
 Describes the process of SGD optimization weights for the Convolution Neuron (CNeuronConvOCL). More...
 
__kernel void UpdateWeightsConvAdam (__global double *matrix_w, __global const double *matrix_g, __global const double *matrix_i, __global double *matrix_m, __global double *matrix_v, const int inputs, const double l, const double b1, const double b2, int window_in, int window_out, int step)
 Describes the process of Adam optimization weights for the Convolution Neuron (CNeuronConvOCL). More...
 
__kernel void AttentionScore (__global double *querys, __global double *keys, __global double *score, int dimension)
 | Describes the Score calculation process for the Neuron of attention layer (CNeuronAttentionOCL). More...
 
__kernel void AttentionOut (__global double *scores, __global double *values, __global double *inputs, __global double *out)
 Describes the Attention out calculation process for the Neuron of attention layer (CNeuronAttentionOCL). More...
 
__kernel void SumMatrix (__global double *matrix1, __global double *matrix2, __global double *matrix_out, int dimension, double multiplyer)
 2 . Describes the calculation Sum of 2 matrixs. More...
 
__kernel void AttentionIsideGradients (__global double *querys, __global double *querys_g, __global double *keys, __global double *keys_g, __global double *values, __global double *values_g, __global double *scores, __global double *gradient)
 ' Describes the gradients calculation process for the Neuron of attention layer (CNeuronAttentionOCL). More...
 
__kernel void Normalize (__global double *buffer, int dimension)
 Describes the process of matrix normalization. More...
 
__kernel void NormalizeWeights (__global double *buffer, int dimension)
 Describes the process of weights matrix normalization. More...
 

Detailed Description

NeuroNet.cl Library consist OpenCL kernels.

Author
DNG

Definition in file NeuroNet.cl.