Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Linear regression TF2 predict
def predict(self, x):
return tf.reduce_sum(self.m * x, 1) + self.b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.