tf.compat.v1.tpu.PaddingSpec
Stay organized with collections
Save and categorize content based on your preferences.
Represents the type of padding policies for tpu.replicate.
Class Variables
AUTO = <PaddingSpec.AUTO: 0>
POWER_OF_TWO = <PaddingSpec.POWER_OF_TWO: 1>
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.compat.v1.tpu.PaddingSpec\n\n\u003cbr /\u003e\n\n|----------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.2.0/tensorflow/python/tpu/tpu.py#L784-L790) |\n\nRepresents the type of padding policies for tpu.replicate.\n\nClass Variables\n---------------\n\n- `AUTO = \u003cPaddingSpec.AUTO: 0\u003e`\n- `POWER_OF_TWO = \u003cPaddingSpec.POWER_OF_TWO: 1\u003e`"]]