From 1c42f96696a6f206c3bac1a361b4235bce0310ae Mon Sep 17 00:00:00 2001 From: Sebastian Fischer Date: Wed, 15 May 2024 15:43:02 +0200 Subject: [PATCH] link to torch installation instructions in readme --- README.Rmd | 2 ++ README.md | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.Rmd b/README.Rmd index 79f5f9e4..56d02bb7 100644 --- a/README.Rmd +++ b/README.Rmd @@ -36,6 +36,8 @@ Deep Learning with torch and mlr3. ## Installation +For more details on how to install {torch}, see [torch installation instruction](https://torch.mlverse.org/docs/articles/installation). + ```{r eval = FALSE} # Install the development version from GitHub: pak::pak("mlr-org/mlr3torch") diff --git a/README.md b/README.md index ca737adc..68260e63 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,9 @@ status](https://www.r-pkg.org/badges/version/mlr3torch)](https://CRAN.R-project. ## Installation +For more details on how to install {torch}, see [torch installation +instruction](https://torch.mlverse.org/docs/articles/installation). + ``` r # Install the development version from GitHub: pak::pak("mlr-org/mlr3torch") @@ -101,7 +104,7 @@ graph_mlp #> Graph with 8 PipeOps: #> ID State sccssors prdcssors #> -#> torch_ingress_num <> nn_linear +#> torch_ingress_num <> nn_linear #> nn_linear <> nn_relu torch_ingress_num #> nn_relu <> nn_head nn_linear #> nn_head <> torch_loss nn_relu @@ -161,7 +164,7 @@ materialize( rbind = TRUE ) #> torch_tensor -#> (1,1,.,.) = +#> (1,1,.,.) = #> 0.0000 0.0000 0.0000 0.0000 0.0000 #> 0.0000 200.9199 228.2500 8.2000 0.0000 #> 0.0000 0.0000 196.7500 0.0000 0.0000