tf.estimator.FeedFnHook

Runs feed_fn and sets the feed_dict accordingly.

Inherits From: SessionRunHook

feed_fn function that takes no arguments and returns dict of Tensor to feed.

Methods

after_create_session

View source

Called when new TensorFlow session is created.

This is called to signal the hooks that a new session has been created. This has two essential differences with the situation in which begin is called:

  • When this is called, the graph is finalized