code: def __make_var(self, name: str, shape: list):
          
          return tf.get_variable(name, shape, trainable=self.__network.is_trainable())
docs: Creates a tensorflow variable with the given name and shape.
          :param name: name to set for the variable.
          :param shape: list defining the shape of the variable.
          :return: created TF variable.