| 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() const | Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets > | inline |
| getDeviceContext() const | Mila::Dnn::Module< TDeviceType, TInput, TOutput > | inline |
| getDeviceType() const | Mila::Dnn::Module< TDeviceType, TInput, TOutput > | inline |
| getLabelSmoothing() const | Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets > | inline |
| getName() const | Mila::Dnn::Module< TDeviceType, TInput, TOutput > | inline |
| getPaddingIndex() const | Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets > | inline |
| getParameterTensors() const | Mila::Dnn::Module< TDeviceType, TInput, TOutput > | inline |
| getPrecision() const | Mila::Dnn::Module< TDeviceType, TInput, TOutput > | inline |
| getStateTensors() const | Mila::Dnn::Module< TDeviceType, TInput, TOutput > | inline |
| getVocabSize() const | Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets > | inline |
| ignorePadding() const | Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets > | inline |
| initializeClassWeights(const std::vector< float > &weights) | Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets > | inlineprivate |
| isReduced() const | Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets > | inline |
| isTraining() const | Mila::Dnn::Module< TDeviceType, TInput, TOutput > | inline |
| load(ModelArchive &archive) override | Mila::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 typedef | Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets > | |
| MR typedef | Mila::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 override | Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets > | inlinevirtual |
| parameters_ | Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets > | private |
| parametersToString() const | Mila::Dnn::Module< TDeviceType, TInput, TOutput > | inlineprotected |
| save(ModelArchive &archive) const override | Mila::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() const | Mila::Dnn::Module< TDeviceType, TInput, TOutput > | inlineprotected |
| toString() const override | Mila::Dnn::CrossEntropy< TDeviceType, TLogits, TTargets > | inlinevirtual |
| training_mode_ | Mila::Dnn::Module< TDeviceType, TInput, TOutput > | private |
| ~Module()=default | Mila::Dnn::Module< TDeviceType, TInput, TOutput > | virtual |