Let say I have this pseudocode:
Receive input from a user.
Depending on the input value do separate procedures.
Here is the MWE I have:
class vgg_16_cnn:
      def __init__(self, mode):
           self.mode = mode
      if self.mode.tolower == "tensorflow":
           #################################################
           #
           #         Do Tensorflow procedure
           #
           #################################################
      if self.mode.tolower == "pytorch":
           #################################################
           #
           #         Do pytorch procedure
           #
           #################################################
mode_init = str(input("What mode are you processing the data: ")) ## Possible answers Tensorflow and Pytorch
machine_learning_alg = vgg_16_cnn(mode="tensorflow")
In my MWE is where I kind of get lost so bare with me. Is it possible to have these two states exist in the same class I could function overload, like in Java(except its methods).