Skip to content

Instantly share code, notes, and snippets.

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

  • Save irdanish11/0979b4fbe37e949d6380b793841e5f61 to your computer and use it in GitHub Desktop.

Select an option

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