18#ifndef TMVA_DNN_CNN_DESCRIPTORS
19#define TMVA_DNN_CNN_DESCRIPTORS
36template <
typename Layer_t>
50template <
typename Layer_t>
61template <
typename Layer_t>
94template <
typename Architecture_t>
104#if (CUDNN_VERSION >= 8000)
122 std::vector<TensorDescriptor_t>
xDesc;
123 std::vector<TensorDescriptor_t>
yDesc;
131template <
typename Layer_t>
create variable transformations
typename Layer_t::WeightsDescriptor_t WeightsDescriptor_t
The weights that are modified (e.g filters)
typename Layer_t::HelperDescriptor_t HelperDescriptor_t
Used to define possible helpers for the layers (e.g. activations)
HelperDescriptor_t HelperDescriptor
WeightsDescriptor_t WeightsDescriptor
typename Layer_t::LayerDescriptor_t LayerDescriptor_t
Main layer operation.
LayerDescriptor_t LayerDescriptor
size_t * BackwardWorkspace
void * fReductionWorkspace
typename Layer_t::AlgorithmForward_t AlgorithmForward_t
Forward layer operation.
AlgorithmBackward_t AlgorithmBackward
AlgorithmForward_t AlgorithmForward
typename Layer_t::AlgorithmBackward_t AlgorithmBackward_t
Backward layer operation.
size_t fReductionWorkspaceSize
size_t HelperWorkspaceSize
AlgorithmHelper_t HelperAlgorithm
size_t BackwardWorkspaceSize
typename Layer_t::ReduceTensorDescriptor_t ReduceTensorDescriptor_t
AlgorithmDataType_t DataType
size_t ForwardWorkspaceSize
ReduceTensorDescriptor_t fReduceTensorDesc
typename Layer_t::AlgorithmDataType_t AlgorithmDataType_t
size_t * ForwardWorkspace
typename Layer_t::AlgorithmHelper_t AlgorithmHelper_t
Used for weight grad backward pass.
LayerDescriptor_t LayerDescriptor
WeightsDescriptor_t WeightsGradDescriptor
typename Architecture_t::DropoutDescriptor_t HelperDescriptor_t
use for dropout
std::vector< TensorDescriptor_t > dyDesc
HelperDescriptor_t HelperDescriptor
typename Architecture_t::TensorDescriptor_t TensorDescriptor_t
the vector of tensor descriptors
typename Architecture_t::TensorDescriptor_t DataDescriptor_t
the vector of tensor descriptors
WeightsDescriptor_t WeightsDescriptor
std::vector< TensorDescriptor_t > dxDesc
typename Architecture_t::RecurrentDescriptor_t LayerDescriptor_t
Main layer operation.
std::vector< TensorDescriptor_t > xDesc
typename Architecture_t::FilterDescriptor_t WeightsDescriptor_t
The weights that are modified (e.g filters)
std::vector< TensorDescriptor_t > yDesc
void * InferenceWorkspace
size_t ForwardWorkspaceSize
size_t HelperWorkspaceSize
size_t InferenceWorkspaceSize
HelperDescriptor_t HelperDescriptor
typename Layer_t::HelperDescriptor_t HelperDescriptor_t