Category: 11. Mixed precision

  • Mixed precision policy API

    DTypePolicy class A dtype policy for a Keras layer. A dtype policy determines a layer’s computation and variable dtypes. Each layer has a policy. Policies can be passed to the dtype argument of layer constructors, or a global policy can be set with keras.config.set_dtype_policy. Arguments Typically you only need to interact with dtype policies when using mixed precision, which…