Answer by jdehesa for Feed both tf.data.Dataset and NumPy array to model
You can create your model with a dataset, iterator, etc as usual. Then, if you want to pass some custom data with feed_dict, you can just by passing values to the tensors produced by get_next():import...
View ArticleFeed both tf.data.Dataset and NumPy array to model
I have a class representing a model that is set up as follows:class Model: def __init__(self): self.setup_graph() def setup_graph(): # sets up the model .... def train(self, dataset): # dataset is a...
View Article
More Pages to Explore .....