In [ ]:
class TemplateModel:
""" Build the model """
def __init__ (self, params):
pass
def _create_placeholders(self):
""" Step 1: define the placeholders for input and output """
pass
def _create_embedding(self):
""" Step 2: define weights. In word2vec, it's actually the weights that we care
about """
pass
def _create_loss(self):
""" Step 3 + 4: define the inference + the loss function """
pass
def _create_optimizer(self):
""" Step 5: define optimizer """
pass
def _create_summaries(self):
"""Define summarisers"""
pass