title: Unfamiliar Python syntax (e.g. obj1 = <class method>(<method parameters>)(obj2))
body: <p>I'm taking an AI / ML online course, and some of the assignments include Python language phrases like:</p>
  <pre><code>input_img = tf.keras.Input(shape=input_shape)
  Z1 = tfl.Conv2D(8, kernel_size=4,strides=(1,1), padding='SAME')(input_img)
  </code></pre>
  <p>It seems that the general syntax of the second line is:</p>
  <pre><code>obj1 = &lt;class method&gt;(&lt;method parameters&gt;)(obj2), 
  </code></pre>
  <p>where obj1, obj2 are some class instances.</p>
  <p>Could not find an explanation to this syntax.
  Please direct me to a reference / example clarifying said syntax.</p>