摘要: #作业 softmax 函数 arr=np.random.randn(10,10)*100 print(arr) arr1=arr-arr.max() arr1 arr1_exp=np.exp(arr1) print(arr1_exp) arr1_exp_sum=arr1_exp.sum(axis=1).reshape(10,1) print(arr1_exp_sum) arr_softm... 阅读全文
posted @ 2019-05-15 21:51 你的就是我的 阅读(6486) 评论(0) 推荐(0)
摘要: http://localhost:8888/notebooks/Untitled3.ipynb?kernel_name=python3 阅读全文
posted @ 2019-05-15 18:03 你的就是我的 阅读(186) 评论(0) 推荐(0)