#
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
Cloning an Rc from its pointer
Users Rust Lang ·
Jul 26, 2026
Rust
Memory Management
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
We have proof automation now
Adam Langley ·
Jul 26, 2026
dependently-typed languages
proof automation
Exploiting Volvo/Eicher’s fleet management platform to gain control over all users and vehicles
Eaton Works ·
Jul 27, 2026
Cybersecurity
Vulnerability Exploitation
Writing arenas in Rust from scratch
rushter ·
Jul 27, 2026
Rust
memory allocation
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google