W3cubDocs

/TensorFlow 2.4

Module: tf.compat.v1.tpu.experimental

Public API for tf.tpu.experimental namespace.

Modules

embedding module: Public API for tf.tpu.experimental.embedding namespace.

Classes

class AdagradParameters: Optimization parameters for Adagrad with TPU embeddings.

class AdamParameters: Optimization parameters for Adam with TPU embeddings.

class DeviceAssignment: Mapping from logical cores in a computation to the physical TPU topology.

class FtrlParameters: Optimization parameters for Ftrl with TPU embeddings.

class StochasticGradientDescentParameters: Optimization parameters for stochastic gradient descent for TPU embeddings.

class TPUSystemMetadata: Describes some metadata about the TPU system.

class Topology: Describes a set of TPU devices.

Functions

embedding_column(...): TPU version of tf.compat.v1.feature_column.embedding_column.

initialize_tpu_system(...): Initialize the TPU devices.

shared_embedding_columns(...): TPU version of tf.compat.v1.feature_column.shared_embedding_columns.

shutdown_tpu_system(...): Shuts down the TPU devices.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/compat/v1/tpu/experimental