TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.contrib.distribute.StandardInputStep

View source on GitHub

Class StandardInputStep

Step with a standard implementation of input handling.

Inherits From: Step

Args:

  • dataset_fn: a function that returns a tf.data Dataset that produces the input for the model.

__init__

View source

__init__(
    dataset_fn,
    distribution
)

Properties

distribution

Methods

__call__

View source

__call__()

Perform one step of this training algorithm.

initialize

View source

initialize()