code: def conv_to_fc(input_tensor):
      """
      Reshapes a Tensor from a convolutional network to a Tensor for a fully connected network
  
      :param input_tensor: (TensorFlow Tensor) The convolutional input tensor
      :return: (TensorFlow Tensor) The fully connected output tensor
      """
      n_hidden = np.prod(
          [v.value for v in input_tensor.get_shape()[1:]]
      )
      input_tensor = tf.reshape(input_tensor, [-1, n_hidden])
      return input_tensor
  
file_path: stable-baselines/stable_baselines/common/tf_layers.py
imports: import numpy
  import tensorflow
label_desc: Use image node_id 8 for calling a global function with example usage: conv_to_fc(input_tensor) and returns: input_tensor