Skip to content

Instantly share code, notes, and snippets.

@irdanish11
Created July 8, 2020 11:22
Show Gist options
  • Select an option

  • Save irdanish11/6fa6b68f75a29ed87ddd9ff421256d63 to your computer and use it in GitHub Desktop.

Select an option

Save irdanish11/6fa6b68f75a29ed87ddd9ff421256d63 to your computer and use it in GitHub Desktop.
def f():
a = tf.constant([[10,10],[11.,1.]])
x = tf.constant([[1.,0.],[0.,1.]])
b = tf.Variable(12.)
y = tf.matmul(a, x) + b
return y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment