-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
58 lines (47 loc) · 1.35 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[package]
name ="only_torch"
version ="0.0.8"
edition ="2021"
description ="仿造pytorch的个人玩具(仍在构思,请勿使用)AI框架"
repository ="https://github.com/dbsxdbsx/only_torch"
license ="MIT"
documentation="https://docs.rs/only_torch"
categories =["ai", "machine-learning", "tensor"]
readme ="README.md"
exclude =["target/*", ".vscode/*", ".github/*", "tests/*", "justfile"]
keywords=["machine-learning", "logic", "AI", "torch", "NEAT"]
[profile.release]
lto =true
codegen-units=1
strip ="debuginfo"
[dependencies]
# 代码重构
enum_dispatch="0.3"
# 数值相关
approx ="*"
num-traits ="*"
num-derive ="*"
num-integer="*"
rand ="^0.8"
ndarray ={version="^0.15", features=["serde"]}
# 错误处理
thiserror="1"
# 序列化相关项
ndarray-npy="*"
# (反)序列化
serde ={version="1.0", features=["derive"]}
serde_json="1.0"
bincode ="1.3.3"
# 从硬盘保存、加载
# savefile ="*"
# savefile-derive="*"
# 图像处理
image ="*"
imageproc="*"
# show-image = "0.13.1"
# screenshots = "0.7.0"
# 宏
paste ="1.0.5"
trait_variable="*"
[dev-dependencies]
# statrs="^0.16.0"