.. _l-methods: Methods ======= .. contents:: :local: :depth: 1 Summary +++++++ +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | method | class parent | truncated documentation | +===========================================================================================================================================+=====================================+===============================================================================================================+ | :py:meth:`__getstate__ ` | BaseEstimator | Removes any non pickable attribute. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__getstate__ ` | BaseLearningOnnx | Overwrites getstate to get rid of InferenceSession. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__getstate__ ` | OrtDataLoader | Removes any non pickable attribute. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__getstate__ ` | OrtGradientForwardBackwardOptimizer | Removes any non pickable attribute. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__getstate__ ` | OrtGradientForwardBackward | Removes any non pickable attribute. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | BaseEstimator | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | BaseLearningOnnx | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | OrtDataLoader | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | OrtGradientOptimizer | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | OrtGradientForwardBackwardOptimizer | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | OrtGradientForwardBackward | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | OrtGradientForwardBackwardFunction | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | AbsoluteLearningLoss | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | BaseLearningLoss | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | ElasticLearningLoss | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | NegLogLearningLoss | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | SquareLearningLoss | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | BaseLearningPenalty | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | ElasticLearningPenalty | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | NoLearningPenalty | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | BaseLearningRate | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | LearningRateSGD | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | LearningRateSGDNesterov | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | OnnxSegment | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__init__ ` | OnnxSplitting | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__len__ ` | OrtDataLoader | Returns the number of observations. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__repr__ ` | BaseEstimator | Usual. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__repr__ ` | BaseLearningOnnx | Usual | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__repr__ ` | OrtDataLoader | usual | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__repr__ ` | OrtGradientForwardBackward | usual | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__repr__ ` | OnnxSegment | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__repr_extended__ ` | BaseLearningOnnx | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__repr_extended__ ` | BaseLearningRate | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__repr_extended__ ` | LearningRateSGD | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__repr_extended__ ` | LearningRateSGDNesterov | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__setstate__ ` | BaseEstimator | Restores any non pickable attribute. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__setstate__ ` | BaseLearningOnnx | Overwrites getstate to get rid of InferenceSession. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__setstate__ ` | OrtDataLoader | Restores any non pickable attribute. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__setstate__ ` | OrtGradientForwardBackwardOptimizer | Restores any non pickable attribute. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`__setstate__ ` | OrtGradientForwardBackward | Restores any non pickable attribute. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_bind_input_ortvalue ` | BaseLearningOnnx | Binds :epkg:`C_OrtValue` to the structure used by :epkg:`InferenceSession` to run inference. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_bind_input_ortvalue ` | OrtGradientOptimizer | Binds :epkg:`C_OrtValue` to the structure used by :epkg:`InferenceSession` to run inference. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_bind_output_ortvalue ` | BaseLearningOnnx | Binds :epkg:`C_OrtValue` to the structure used by :epkg:`InferenceSession` to run inference. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_call_iobinding ` | AbsoluteLearningLoss | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_call_iobinding ` | BaseLearningLoss | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_call_iobinding ` | ElasticLearningLoss | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_call_iobinding ` | NegLogLearningLoss | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_call_iobinding ` | SquareLearningLoss | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_call_iobinding ` | BaseLearningPenalty | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_call_iobinding ` | ElasticLearningPenalty | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_call_iobinding ` | NoLearningPenalty | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_call_iobinding ` | BaseLearningRate | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_call_iobinding ` | LearningRateSGD | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_call_iobinding ` | LearningRateSGDNesterov | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_create_onnx_graphs ` | OrtGradientForwardBackward | Creates forward and backward ONNX graph. The new class has the following attributes: | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_create_training_session ` | OrtGradientOptimizer | Creates an instance of :epkg:`TrainingSession`. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_create_training_session ` | OrtGradientForwardBackwardOptimizer | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_evaluation ` | OrtGradientOptimizer | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_evaluation ` | OrtGradientForwardBackwardOptimizer | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_get_att_state ` | OrtGradientForwardBackwardOptimizer | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_get_cutting_points ` | OnnxSplitting | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_get_trained_onnx ` | BaseEstimator | Returns the trained onnx graph, the initial graph modified by replacing the initializers with the trained ... | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_init ` | OnnxSplitting | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_init_next ` | OrtGradientForwardBackward | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_iteration ` | OrtGradientOptimizer | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_iteration ` | OrtGradientForwardBackwardOptimizer | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_make_onnx ` | OnnxSplitting | Builds one onnx subpart including segments from a to b (excluded). | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_make_segment ` | OnnxSplitting | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_next_iter ` | OrtDataLoader | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :py:meth:`_split_2 ` | OnnxSplitting | Splits the segments into two groups of the same size. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`backward ` | OrtGradientForwardBackwardFunction | Implements backward function. The function returns an :epkg:`OrtValueVector`. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`build_onnx_function ` | BaseLearningOnnx | This class computes a function represented as an ONNX graph. This method builds it. This function creates ... | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`build_onnx_function ` | OrtGradientForwardBackwardOptimizer | Creates ONNX graph and *InferenceSession* related to any operations applying on *OrtValue*. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`build_onnx_function ` | AbsoluteLearningLoss | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`build_onnx_function ` | ElasticLearningLoss | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`build_onnx_function ` | NegLogLearningLoss | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`build_onnx_function ` | SquareLearningLoss | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`build_onnx_function ` | ElasticLearningPenalty | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`build_onnx_function ` | NoLearningPenalty | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`build_onnx_function ` | LearningRateSGD | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`build_onnx_function ` | LearningRateSGDNesterov | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`build_onnx_score_function ` | AbsoluteLearningLoss | Assuming the loss function was created. This one takes the onnx graph and generate the onnx graph for the ... | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`build_onnx_score_function ` | BaseLearningLoss | Assuming the loss function was created. This one takes the onnx graph and generate the onnx graph for the ... | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`build_onnx_score_function ` | ElasticLearningLoss | Assuming the loss function was created. This one takes the onnx graph and generate the onnx graph for the ... | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`build_onnx_score_function ` | NegLogLearningLoss | Assuming the loss function was created. This one takes the onnx graph and generate the onnx graph for the ... | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`build_onnx_score_function ` | SquareLearningLoss | Assuming the loss function was created. This one takes the onnx graph and generate the onnx graph for the ... | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`clear_binding_inputs ` | BaseLearningOnnx | Clears binding and empty cache. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`fit ` | OrtGradientOptimizer | Trains the model. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`fit ` | OrtGradientForwardBackwardOptimizer | Trains the model. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`forward ` | OrtGradientForwardBackwardFunction | Implements forward function. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`get_full_state ` | OrtGradientForwardBackwardOptimizer | Returns the trained weights and the inputs. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`get_initializer ` | OrtGradientForwardBackward | Returns an initializer as numpy arrays. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`get_params ` | BaseEstimator | Returns the list of parameters. Parameter *deep* is unused. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`get_state ` | OrtGradientOptimizer | Returns the trained weights. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`get_state ` | OrtGradientForwardBackwardOptimizer | Returns the trained weights. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`get_trained_onnx ` | BaseEstimator | Returns the trained onnx graph, the initial graph modified by replacing the initializers with the trained ... | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`get_trained_onnx ` | OrtGradientOptimizer | Returns the trained onnx graph, the initial graph modified by replacing the initializers with the trained ... | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`get_trained_onnx ` | OrtGradientForwardBackwardOptimizer | Returns the trained onnx graph, the initial graph modified by replacing the initializers with the trained ... | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`init_learning_rate ` | BaseLearningRate | Initializes the learning rate at the beginning of the training. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`init_learning_rate ` | LearningRateSGD | Updates the learning rate at the end of an iteration. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`init_learning_rate ` | LearningRateSGDNesterov | Updates the learning rate at the end of an iteration. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`iter_bind ` | OrtDataLoader | Iterates over the datasets by drawing *batch_size* consecutive observations. Modifies a bind structure. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`iter_numpy ` | OrtDataLoader | Iterates over the datasets by drawing *batch_size* consecutive observations. This iterator is slow as it ... | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`iter_ortvalue ` | OrtDataLoader | Iterates over the datasets by drawing *batch_size* consecutive observations. This iterator is slow as it ... | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`loop ` | BaseLearningRate | Loops over learning rate values, *n* to be precise. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`loop ` | LearningRateSGD | Loops over learning rate values, *n* to be precise. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`loop ` | LearningRateSGDNesterov | Loops over learning rate values, *n* to be precise. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`loss_gradient ` | AbsoluteLearningLoss | Returns the loss and the gradient as OrtValue. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`loss_gradient ` | BaseLearningLoss | Returns the loss and the gradient as OrtValue. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`loss_gradient ` | ElasticLearningLoss | Returns the loss and the gradient as OrtValue. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`loss_gradient ` | NegLogLearningLoss | Returns the loss and the gradient as OrtValue. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`loss_gradient ` | SquareLearningLoss | Returns the loss and the gradient as OrtValue. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`loss_scores ` | AbsoluteLearningLoss | Returns the weighted loss (or score) for every observation as OrtValue. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`loss_scores ` | BaseLearningLoss | Returns the weighted loss (or score) for every observation as OrtValue. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`loss_scores ` | ElasticLearningLoss | Returns the weighted loss (or score) for every observation as OrtValue. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`loss_scores ` | NegLogLearningLoss | Returns the weighted loss (or score) for every observation as OrtValue. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`loss_scores ` | SquareLearningLoss | Returns the weighted loss (or score) for every observation as OrtValue. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`losses ` | OrtGradientForwardBackwardOptimizer | Returns the losses associated to every observation. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`make_onnx ` | OnnxSplitting | Builds onnx subparts based on the segmentation defined by extremities. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`new_instance ` | OrtGradientForwardBackward | Creates an instance of class `self.cls_type_`. It implements methods *forward* and *backward*. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`penalty_loss ` | BaseLearningPenalty | Returns the received loss. Updates the loss inplace. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`penalty_loss ` | ElasticLearningPenalty | Computes the penalty associated to every weights and adds them up to the loss. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`penalty_loss ` | NoLearningPenalty | Returns the received loss. Updates the loss inplace. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`save_for_backward ` | OrtGradientForwardBackwardFunction | Saves inputs furing forward steps. The list inputs is copied (simple copy, no deep copy). | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`save_onnx_graph ` | BaseOnnxClass | Saves all ONNX files stored in this class. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`score ` | OrtGradientForwardBackwardOptimizer | Return the whole score associated. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`set_params ` | BaseEstimator | Returns the list of parameters. Parameter *deep* is unused. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`set_state ` | OrtGradientOptimizer | Changes the trained weights. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`set_state ` | OrtGradientForwardBackwardOptimizer | Changes the trained weights. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`split_segment ` | OnnxSplitting | Splits the segments into `n_parts` segments | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`update_learning_rate ` | BaseLearningRate | Updates the learning rate at the end of an iteration. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`update_learning_rate ` | LearningRateSGD | Updates the learning rate at the end of an iteration. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`update_learning_rate ` | LearningRateSGDNesterov | Updates the learning rate at the end of an iteration. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`update_weights ` | BaseLearningPenalty | Returns the received loss. Updates the weight inplace. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`update_weights ` | ElasticLearningPenalty | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`update_weights ` | NoLearningPenalty | Returns the received loss. Updates the weight inplace. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`update_weights ` | BaseLearningRate | Updates weights based on the algorithm this class is setting up. | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`update_weights ` | LearningRateSGD | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+ | :meth:`update_weights ` | LearningRateSGDNesterov | | +-------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+---------------------------------------------------------------------------------------------------------------+