Revise importation of utils to make it more readable
Specify the imported functions in models
Format python files to make them more clean and readable
Break down the train_step to enable reusability of the codes
There are a lot of duplicated lines in train_step and test_step which hinders the reusability and scalability. We try to break down the train_step and test_step into three steps
Revise importation of utils to make it more readable
models
Format python files to make them more clean and readable
Break down the
train_step
to enable reusability of the codesThere are a lot of duplicated lines in
train_step
andtest_step
which hinders the reusability and scalability. We try to break down thetrain_step
andtest_step
into three stepsforward_generator_step
calculate_generator_loss
calculate_discriminator_loss