A TPU core selector Op.
tf.raw_ops.TPUOrdinalSelector( name=None )
This Op produces a set of TPU cores (for warm-up) or a single TPU core (for regular inference) to execute the TPU program on. The output is consumed by TPUPartitionedCall.
Args | |
---|---|
name | A name for the operation (optional). |
Returns | |
---|---|
A Tensor of type int32 . |
© 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/raw_ops/TPUOrdinalSelector