tch 0.6.0

Rust wrappers for the PyTorch C++ api (libtorch).
Documentation
Build #451752 2021-10-23T03:05:29.831116+00:00
# rustc version
rustc 1.58.0-nightly (514b38779 2021-10-22)
# docs.rs version
docsrs 0.6.0 (06dfd05 2021-10-09)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/tch-0.6.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/tch-0.6.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "2" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "doc-only" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j2" "--" "-Z" "unstable-options" "--emit=invocation-specific" "--resource-suffix" "-20211022-1.58.0-nightly-514b38779" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", kill_on_drop: false }`
[INFO] [stdout] 58c91c74885f758bbfcbe56bf16e7bebb6f0cacaf89de59a33a832a8602e33fa
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "58c91c74885f758bbfcbe56bf16e7bebb6f0cacaf89de59a33a832a8602e33fa", kill_on_drop: false }`
[INFO] [stderr]  Documenting tch v0.6.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/tensor/npy.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | //! https://docs.scipy.org/doc/numpy-1.14.2/neps/npy-format.html
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://docs.scipy.org/doc/numpy-1.14.2/neps/npy-format.html>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(rustdoc::bare_urls)]` on by default
[INFO] [stderr]   = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/nn/rnn.rs:78:5
[INFO] [stderr]    |
[INFO] [stderr] 78 | /// https://en.wikipedia.org/wiki/Long_short-term_memory
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://en.wikipedia.org/wiki/Long_short-term_memory>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/nn/rnn.rs:187:5
[INFO] [stderr]     |
[INFO] [stderr] 187 | /// https://en.wikipedia.org/wiki/Gated_recurrent_unit
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://en.wikipedia.org/wiki/Gated_recurrent_unit>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/vision/dataset.rs:70:5
[INFO] [stderr]    |
[INFO] [stderr] 70 | /// https://arxiv.org/abs/1708.04552
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://arxiv.org/abs/1708.04552>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/vision/mnist.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | //! http://yann.lecun.com/exdb/mnist/
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<http://yann.lecun.com/exdb/mnist/>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/vision/cifar.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | //! https://www.cs.toronto.edu/~kriz/cifar.html
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://www.cs.toronto.edu/~kriz/cifar.html>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/vision/alexnet.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | //! https://arxiv.org/abs/1404.5997
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://arxiv.org/abs/1404.5997>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/vision/resnet.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | //! https://arxiv.org/abs/1512.03385
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://arxiv.org/abs/1512.03385>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/vision/resnet.rs:85:5
[INFO] [stderr]    |
[INFO] [stderr] 85 | /// https://github.com/LaurentMazare/ocaml-torch/releases/download/v0.1-unstable/resnet18.ot
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/LaurentMazare/ocaml-torch/releases/download/v0.1-unstable/resnet18.ot>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/vision/resnet.rs:97:5
[INFO] [stderr]    |
[INFO] [stderr] 97 | /// https://github.com/LaurentMazare/ocaml-torch/releases/download/v0.1-unstable/resnet34.ot
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/LaurentMazare/ocaml-torch/releases/download/v0.1-unstable/resnet34.ot>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/vision/densenet.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | //! https://arxiv.org/abs/1608.06993
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://arxiv.org/abs/1608.06993>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/vision/densenet.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | //! https://github.com/LaurentMazare/ocaml-torch/releases/download/v0.1-unstable/densenet121.ot
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/LaurentMazare/ocaml-torch/releases/download/v0.1-unstable/densenet121.ot>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/vision/vgg.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | //! https://github.com/LaurentMazare/ocaml-torch/releases/download/v0.1-unstable/vgg13.ot
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/LaurentMazare/ocaml-torch/releases/download/v0.1-unstable/vgg13.ot>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/vision/vgg.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | //! https://github.com/LaurentMazare/ocaml-torch/releases/download/v0.1-unstable/vgg16.ot
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/LaurentMazare/ocaml-torch/releases/download/v0.1-unstable/vgg16.ot>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/vision/vgg.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | //! https://github.com/LaurentMazare/ocaml-torch/releases/download/v0.1-unstable/vgg19.ot
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/LaurentMazare/ocaml-torch/releases/download/v0.1-unstable/vgg19.ot>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/vision/mobilenet.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | //! https://ai.googleblog.com/2018/04/mobilenetv2-next-generation-of-on.html
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://ai.googleblog.com/2018/04/mobilenetv2-next-generation-of-on.html>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/vision/convmixer.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | //! https://openreview.net/forum?id=TVHS5Y4dNvM
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://openreview.net/forum?id=TVHS5Y4dNvM>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: `tch` (lib doc) generated 17 warnings
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2.60s
[INFO] running `Command { std: "docker" "inspect" "58c91c74885f758bbfcbe56bf16e7bebb6f0cacaf89de59a33a832a8602e33fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "58c91c74885f758bbfcbe56bf16e7bebb6f0cacaf89de59a33a832a8602e33fa", kill_on_drop: false }`
[INFO] [stdout] 58c91c74885f758bbfcbe56bf16e7bebb6f0cacaf89de59a33a832a8602e33fa