np.arange有哪些参数
时间: 2023-08-22 21:11:21 浏览: 143
系统更新-在keras中利用np.random.shuffle()打乱数据集实例
np.arange函数有三个参数:起始值(start),结束值(stop),步长(step)。其中,起始值和步长是可选的,默认起始值为0,步长为1。
#### 引用[.reference_title]
- *1* [np.arange()和 range()的用法及区别](https://blog.csdn.net/star_of_science/article/details/118820791)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [np.arange()用法,Python numpy.arange()用法](https://blog.csdn.net/weixin_47160526/article/details/118081441)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [np.arange与np.linspace细微区别(数据溢出问题)](https://blog.csdn.net/qq_44722174/article/details/115632368)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文