def _rpc(self, x):
L, P, H = np.dsplit(x, 3)
return np.dstack([np.ones((x.shape[0], x.shape[1]), dtype=np.float32), L, P, H, L*P, L*H, P*H, L**2, P**2, H**2,
L*P*H, L**3, L*(P**2), L*(H**2), (L**2)*P, P**3, P*(H**2),
(L**2)*H, (P**2)*H, H**3])
评论列表
文章目录