#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
Suggest a blog
Upvotes plugin
Report bug
Contact
About
Sign up
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS
Tch-rs Allows a tensor that is not mutable to change
14
·
Users Rust Lang
·
June 15, 2026, 12:21 p.m.
Rust
Tensor Manipulation
tch-rs
programming techniques
Summary
The blog post discusses how tch-rs allows a tensor, which is initially immutable, to change by demonstrating an example using Rust. It explores the mechanics behind this behavior with a code snippet showing the creation and manipulation of a tensor.
Read full post on users.rust-lang.org →
MORE POSTS LIKE THIS
How to re-throw any error with `?`
Users Rust Lang ·
Aug 11, 2026
Rust
error handling
Faster floating point math with Rust’s new API
Itamar Turner-Trauring ·
Aug 2, 2026
Rust
Floating Point Math
New chatbot
Funcall Blogspot ·
Jun 28, 2026
AI
ai-coding
Using AI to write better code more slowly
nolanlawson ·
May 25, 2026
software-engineering
AI
One Year With The Framework Laptop 13
Sebin Nyshkim ·
Aug 17, 2026
review
hardware
You can just choose how many bugs you want now
nolanlawson ·
Aug 16, 2026
software-engineering
AI
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google