code: def _get_var_res(self, graph, var, other_var):
          
          with tf.Session(graph=graph) as sess:
              sess.run(other_var["init"])
  
              # all_vars = tf.all_variables()
              # print("All variable names")
              # print([var.name for var in all_vars])
              # print("All variable values")
              # print(sess.run(all_vars))
              var_res = self._get_var_res_sess(sess, var)
          return var_res
docs: Get the weights from our graph