From 5d7f08e818dd382799f285f342fef7660df70a13 Mon Sep 17 00:00:00 2001 From: Jon Harmon Date: Tue, 1 Aug 2023 07:31:33 -0500 Subject: [PATCH] Fix "mmetrics" typo (#132) --- R/module.R | 2 +- man/setup.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/module.R b/R/module.R index 429fc0f5..76e4c561 100644 --- a/R/module.R +++ b/R/module.R @@ -16,7 +16,7 @@ #' @param metrics (`list`, optional) A list of metrics to be tracked during #' the training procedure. Sometimes, you want some metrics to be evaluated #' only during training or validation, in this case you can pass a [luz_metric_set()] -#' object to specify mmetrics used in each stage. +#' object to specify metrics used in each stage. #' @param backward (`function`) A functions that takes the loss scalar values as #' it's parameter. It must call `$backward()` or [torch::autograd_backward()]. #' In general you don't need to set this parameter unless you need to customize diff --git a/man/setup.Rd b/man/setup.Rd index 36afe53d..fbc530f0 100644 --- a/man/setup.Rd +++ b/man/setup.Rd @@ -20,7 +20,7 @@ the model parameters.} \item{metrics}{(\code{list}, optional) A list of metrics to be tracked during the training procedure. Sometimes, you want some metrics to be evaluated only during training or validation, in this case you can pass a \code{\link[=luz_metric_set]{luz_metric_set()}} -object to specify mmetrics used in each stage.} +object to specify metrics used in each stage.} \item{backward}{(\code{function}) A functions that takes the loss scalar values as it's parameter. It must call \verb{$backward()} or \code{\link[torch:autograd_backward]{torch::autograd_backward()}}.