-
-
Save FrancescoSaverioZuppichini/4bcb5cc60c98d447d65d8a79ee92d8ac 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
from TFGraphConvertible import TFGraphConvertible | |
class Model(TFGraphConvertible): | |
def __init__(self): | |
self.variable = None | |
def __call__(self): | |
self.variable = tf.Variable([1], name='variable') | |
model = Model() | |
model() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment