title: I'm getting a *variable syntax error when upgrading code to tensorflow 2.0
body: <p>I have some tensorflow code that runs on an old tensorflow version created by the devs themselves. When trying to upgrade this code, I found the official tensorflow upgrade tool and tried to use it but I'm getting a syntax error when the tool tries to handle the <code>self.inputs_ = tf.placeholder(tf.float32, [None, *state_size], name=&quot;inputs&quot;)</code></p>
  <p>My code:</p>
  <pre><code>class DQNetwork:
      def __init__(self, state_size, action_size, learning_rate, name='DQNetwork'):
          self.state_size = state_size
          self.action_size = action_size
          self.learning_rate = learning_rate
          
          with tf.variable_scope(name):
              # We create the placeholders
              # *state_size means that we take each elements of state_size in tuple hence is like if we wrote
              # [None, 84, 84, 4]
              self.inputs_ = tf.placeholder(tf.float32, [None, *state_size], name=&quot;inputs&quot;)
              self.actions_ = tf.placeholder(tf.float32, [None, 3], name=&quot;actions_&quot;)
              
              # Remember that target_Q is the R(s,a) + ymax Qhat(s', a')
              self.target_Q = tf.placeholder(tf.float32, [None], name=&quot;target&quot;)
  </code></pre>