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 阅读全文
posted @ 2024-10-29 17:35 ZhangZhihuiAAA 阅读(3) 评论(0) 推荐(0) 编辑
 
摘要: 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 阅读全文
posted @ 2024-10-29 09:54 ZhangZhihuiAAA 阅读(18) 评论(0) 推荐(0) 编辑