From 2c14b9110b0621fafc364dca1fcec6f281a8d812 Mon Sep 17 00:00:00 2001 From: David Hong Date: Mon, 9 Oct 2023 18:17:27 -0400 Subject: [PATCH] Fix typo in docstring --- ext/LossFunctionsExt.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/LossFunctionsExt.jl b/ext/LossFunctionsExt.jl index 46bdbd8..6adae88 100644 --- a/ext/LossFunctionsExt.jl +++ b/ext/LossFunctionsExt.jl @@ -3,7 +3,7 @@ module LossFunctionsExt using GCPDecompositions, LossFunctions """ - gcp(X::Array, r, loss::LossFunctions.SupervisedLoss, lower]) -> CPD + gcp(X::Array, r, loss::LossFunctions.SupervisedLoss[, lower]) -> CPD Compute an approximate rank-`r` CP decomposition of the tensor `X` with respect to the loss function `loss` and return a `CPD` object.