tf.contrib.distribute.StandardInputStep

Class StandardInputStep

Inherits From: Step

Defined in tensorflow/contrib/distribute/python/step_fn.py.

Step with a standard implementation of input handling.

Args:

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

Properties

distribution

Methods

__init__

__init__(
    dataset_fn,
    distribution
)

__call__

__call__()

Perform one step of this training algorithm.

inputs

inputs()

step

step(inputs)

Perform the main computation of this training algorithm.