ZhangZhihui's Blog |
|
||
2024年10月29日
摘要:
Data Generation x, y = load_data(n_points=1000, n_dims=10) Next, we can use these data points to create a dataset and a data loader (no mini-batches t 阅读全文
摘要:
rand() - Returns a tensor filled with random numbers from a uniform distribution on the interval [0, 1) torch.rand(100) tensor([0.7880, 0.3032, 0.3627 阅读全文
|
Copyright © 2024 ZhangZhihuiAAA
Powered by .NET 9.0 on Kubernetes |