Open codacy-production[bot] opened 5 months ago
Lambda may not be necessary
np.vectorize(lambda x: pk.encrypt(x))(grad.detach().numpy())
Codacy detected an issue:
Message:
Lambda may not be necessary
Occurred on:
np.vectorize(lambda x: pk.encrypt(x))(grad.detach().numpy())
Currently on: