Skip to main content
. 2021 Jun 3;21(11):3869. doi: 10.3390/s21113869
Algorithm 1 Gradient descent optimization of GAN
for number of training iterations do
for k steps do
Sample batch of Mnum samples from voltage distributions V1,,VM.
Sample batch of Mnum samples from conductivity distributions σ1,,σM.
Update the discriminator by ascending its stochastic gradient:
θd1mi=1MnumlogDσi+log1DGVi.
end for
Sample batch of Mnum samples from voltage distributions V1,,VM.
Update the generator by descending its stochastic gradient:
θg1mi=1Mnumlog1DGVi.
end for