-
-
Save FrancescoSaverioZuppichini/764c20a0b7c871851f2b6d354fd17372 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tensorflow as tf | |
class Model(): | |
def __init__(self): | |
self.variable = None | |
def __call__(self): | |
self.variable = tf.Variable([1], name='variable') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment