Pin非常讨人厌,这篇文章对它做了一些思考。但不要指望给出去掉Pin的解决方案。
https://medium.com/@adetaylor/thoughts-on-pin-3092e043eb19
小编观点,Pin这套东西吓退了很多年轻人。
use Poro::tensor::Tensor;
use ndarray::prelude::*;
fn main() {
let a = Tensor::ones(Shape::new(vec![2, 2]));
let b = Tensor::zeroes(Shape::new(vec![2, 2]));
let c = a + b;
let result = c.item();
assert!(result == arr2(&[[1.0, 1.0], [1.0, 1.0]]).into_dyn());
}
不过还在非常早期,可用于学习目的。
https://github.com/TuckerBMorgan/poro
说明基本可用了。2024会继续完善。
https://godot-rust.github.io/dev/june-2024-update/
终于来了,需要先安装 yazi, zellij 和 helix。然后再用下面这个配置文件
https://github.com/luccahuguet/zellij
就可以实现这样的效果:
--