Skip to content

Commit

Permalink
Merge branch 'release/v0.0.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
f0nzie committed Aug 2, 2019
2 parents 90d1394 + 8cd82bc commit 211787d
Show file tree
Hide file tree
Showing 83 changed files with 3,700 additions and 539 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ _pkgdown.yaml
^.git
^\.travis\.yml$
^appveyor\.yml$
^cran-comments\.md$
8 changes: 4 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
Package: rTorch
Title: R Bindings to 'PyTorch'
Version: 0.0.2
Version: 0.0.3
Authors@R: c(
person("Alfonso R.", "Reyes", role = c("aut", "cre", "cph"), email = "[email protected]"),
person("Daniel", "Falbel", role = c("ctb", "cph"), email = "[email protected]"),
person("JJ", "Allaire", role = c("ctb", "cph"))
)
Description: R implementation and interface of the Machine Learning platform
'PyTorch' <https://pytorch.org/> developed in Python. It requires a 'conda'
Description: 'R' implementation and interface of the Machine Learning platform
'PyTorch' <https://pytorch.org/> developed in 'Python'. It requires a 'conda'
environment with 'torch' and 'torchvision' to provide 'PyTorch' functions,
methods and classes. The key object in 'PyTorch' is the tensor which is in
essence a multidimensional array. These tensors are fairly flexible to perform
calculations in CPUs as well as 'GPUs'.
calculations in CPUs as well as 'GPUs' to accelerate the process.
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
Expand Down
16 changes: 16 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# rTorch 0.0.3
* 20190802
* Released to CRAN at 15:20


# rTorch 0.0.2.9000
* 20190802
* Returned from CRAN with notes
* Fix single quotes in DESCRIPTION
* Change `\dontrun` by `\donttest` where applicable
* Get rid of a warning message
* Replace print/cat by message/warning
* Add `\value` to all functions with `@return`
* Added `cran-comments.md`


# rTorch 0.0.2
* July 31 2019
* Submitted to CRAN at 15:30. Received. Waiting manual inspection.
Expand Down
8 changes: 4 additions & 4 deletions R/extract.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#' @export
#'
#' @examples
#' \dontrun{
#' \donttest{
#' sess <- tf$Session()
#'
#' x <- tf$constant(1:15, shape = c(3, 5))
Expand Down Expand Up @@ -159,7 +159,7 @@
#' @export
#'
#' @examples
#' \dontrun{
#' \donttest{
#' x <- tf$constant(1:10)
#'
#' opts <- torch_extract_opts("R")
Expand Down Expand Up @@ -252,15 +252,15 @@ torch_extract_opts <- function(
#'
#' @export
#' @examples
#' \dontrun{
#' \donttest{
#' # in python, if x is a numpy array or torch tensor
#' x[..., i]
#' # the ellipsis means "expand to match number of dimension of x".
#' # to translate the above python expression to R, write:
#' x[all_dims(), i]
#' }
#' @examples
#' \dontrun{
#' \donttest{
#' # Run this
#' d <- torch$tensor(list(list(0, 0),
#' list(0, 0),
Expand Down
Loading

0 comments on commit 211787d

Please sign in to comment.