10 2022 档案

摘要:1111 import numpy as np import cmath def ssh_hamiltonian(e,v,w,N): H = [[ 0 for i in range(2*N)] for j in range(2*N)] for i in range(2*N): H[i][i] = e 阅读全文
posted @ 2022-10-27 20:31 ghzphy 阅读(222) 评论(0) 推荐(0) 编辑
摘要:拟合多项式参数 # coding=utf-8 import torch import numpy as np class Net(torch.nn.Module): def __init__(self): # self.a = torch.rand(1, dtype=torch.float32, r 阅读全文
posted @ 2022-10-14 12:38 ghzphy 阅读(68) 评论(0) 推荐(0) 编辑
摘要:参考 神经网络15分钟入门——使用python从零开始写一个两层神经网络_Mr.看海的博客-CSDN博客_神经网络入门python # 参考 https://blog.csdn.net/fengzhuqiaoqiu/article/details/102810048 import numpy as 阅读全文
posted @ 2022-10-04 14:06 ghzphy 阅读(105) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示