tf.contrib.distribute.StandardInputStep
Stay organized with collections
Save and categorize content based on your preferences.
Step with a standard implementation of input handling.
Inherits From: Step
tf.contrib.distribute.StandardInputStep(
dataset_fn, distribution
)
Args |
dataset_fn
|
a function that returns a tf.data Dataset that produces the
input for the model.
|
Methods
initialize
View source
initialize()
__call__
View source
__call__()
Perform one step of this training algorithm.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# tf.contrib.distribute.StandardInputStep\n\n\u003cbr /\u003e\n\n|--------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/distribute/step_fn.py#L45-L58) |\n\nStep with a standard implementation of input handling.\n\nInherits From: [`Step`](../../../tf/contrib/distribute/Step) \n\n tf.contrib.distribute.StandardInputStep(\n dataset_fn, distribution\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|--------------|----------------------------------------------------------------------------------|\n| `dataset_fn` | a function that returns a tf.data Dataset that produces the input for the model. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Attributes ---------- ||\n|----------------|---------------|\n| `distribution` | \u003cbr /\u003e \u003cbr /\u003e |\n\n\u003cbr /\u003e\n\nMethods\n-------\n\n### `initialize`\n\n[View source](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/distribute/step_fn.py#L57-L58) \n\n initialize()\n\n### `__call__`\n\n[View source](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/distribute/step_fn.py#L38-L40) \n\n __call__()\n\nPerform one step of this training algorithm."]]