Skip to content

Commit

Permalink
Add description of device argument
Browse files Browse the repository at this point in the history
  • Loading branch information
wesselb committed Jun 24, 2021
1 parent 4e75582 commit 6abcc0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -218,6 +218,9 @@ This section lists all available constants and methods.
-
`axis` indicates an axis over which the function may perform its action.
An axis is always given as a keyword argument.
-
`device` refers to a device on which a tensor can placed, which can
either be a framework-specific type or a string, e.g. `"cpu"`.
-
`ref` indicates a *reference tensor* from which properties, like its
shape and data type, will be used. E.g., `zeros(tensor)` creates a
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Expand Up @@ -7,7 +7,7 @@ pytest-cov
coveralls
autograd>=1.3
tensorflow>=2
tensorflow_probability
tensorflow-probability
torch
jax
jaxlib

0 comments on commit 6abcc0d

Please sign in to comment.