Mila
Deep Neural Network Library
Loading...
Searching...
No Matches
Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets > Member List

This is the complete list of members for Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >, including all inherited members.

attributes_Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >private
backward(const Tensor< TLogits, MR > &input, const Tensor< TTargets, MR > &targets, const Tensor< TLogits, MR > &output_grad, Tensor< TLogits, MR > &input_grad)Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >inline
class_weights_Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >private
config_Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >private
createContext(const std::string &device_name)Mila::Dnn::Module< TDeviceType, TInput, TOutput >inlineprivatestatic
createOperation()Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >inlineprivate
CrossEntropy(const std::string &device_name, const CrossEntropyConfig &config)Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >inlineexplicit
CrossEntropy(std::shared_ptr< DeviceContext > device_context, const CrossEntropyConfig &config)Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >inlineexplicit
device_context_Mila::Dnn::Module< TDeviceType, TInput, TOutput >private
forward(const Tensor< TLogits, MR > &input, const Tensor< TTargets, MR > &targets, Tensor< TLogits, MR > &output)Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >inline
getClassWeights() constMila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >inline
getDeviceContext() constMila::Dnn::Module< TDeviceType, TInput, TOutput >inline
getDeviceType() constMila::Dnn::Module< TDeviceType, TInput, TOutput >inline
getLabelSmoothing() constMila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >inline
getName() constMila::Dnn::Module< TDeviceType, TInput, TOutput >inline
getPaddingIndex() constMila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >inline
getParameterTensors() constMila::Dnn::Module< TDeviceType, TInput, TOutput >inline
getPrecision() constMila::Dnn::Module< TDeviceType, TInput, TOutput >inline
getStateTensors() constMila::Dnn::Module< TDeviceType, TInput, TOutput >inline
getVocabSize() constMila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >inline
ignorePadding() constMila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >inline
initializeClassWeights(const std::vector< float > &weights)Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >inlineprivate
isReduced() constMila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >inline
isTraining() constMila::Dnn::Module< TDeviceType, TInput, TOutput >inline
load(ModelArchive &archive) overrideMila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >inlinevirtual
Module(const std::string &device_name, const ComponentConfig &config)Mila::Dnn::Module< TDeviceType, TInput, TOutput >inlineexplicit
Module(std::shared_ptr< DeviceContext > context, const ComponentConfig &config)Mila::Dnn::Module< TDeviceType, TInput, TOutput >inlineexplicit
ModuleBase typedefMila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >
MR typedefMila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >
operation_Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >private
output_state_Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >private
parameter_map_Mila::Dnn::Module< TDeviceType, TInput, TOutput >protected
parameterCount() const overrideMila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >inlinevirtual
parameters_Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >private
parametersToString() constMila::Dnn::Module< TDeviceType, TInput, TOutput >inlineprotected
save(ModelArchive &archive) const overrideMila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >inlinevirtual
setTraining(bool is_training)Mila::Dnn::Module< TDeviceType, TInput, TOutput >inlinevirtual
state_map_Mila::Dnn::Module< TDeviceType, TInput, TOutput >protected
stateToString() constMila::Dnn::Module< TDeviceType, TInput, TOutput >inlineprotected
toString() const overrideMila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets >inlinevirtual
training_mode_Mila::Dnn::Module< TDeviceType, TInput, TOutput >private
~Module()=defaultMila::Dnn::Module< TDeviceType, TInput, TOutput >virtual