cvxpylayer
cvxpylayer使用(基于Compressive Structured Light for Recovering Inhomogeneous Participating Media论文复现)
论文中Gini系数的计算 ``` def cal_sparsity(x): # print(x.shape) n=x.shape[0] # x=x.reshape(x.shape.prob) x=x.abs() x,_=x.sort() # print(x) Gx=0 for k in range( ......