Module: tf.keras.dtype_policies

DO NOT EDIT.

This file was autogenerated. Do not edit it by hand, since your modifications would be overwritten.

Classes

class AWQDTypePolicy: Quantized dtype policy for AWQ quantization.

class DTypePolicy: A dtype policy for a Keras layer.

class DTypePolicyMap: Dict-like object mapping layer paths to DTypePolicy instances.

class FloatDTypePolicy: A dtype policy for a Keras layer.

class GPTQDTypePolicy: Quantized dtype policy for GPTQ quantization.

class Int4DTypePolicy: Quantized dtype policy for int4 quantization.

class QuantizedDTypePolicy: A dtype policy for a Keras layer.

class QuantizedFloat8DTypePolicy: A dtype policy for a Keras layer.

Functions

deserialize(...): Deserializes a serialized DTypePolicy instance.

get(...): Retrieves a Keras DTypePolicy instance.

serialize(...): Serializes DTypePolicy instance.