
    ij3                         d Z ddlmZ ddlmZ ddlmZ ddlmZ  ej                  dd       edg	      d
               Z
y)z!Quantize training for TensorFlow.    )	graph_pb2)"DoQuantizeTrainingOnGraphDefHelper)deprecation)	tf_exportNzDGraphDef quantized training rewriter is deprecated in the long term.z&train.do_quantize_training_on_graphdef)v1c                     t        j                         }t        | j                         |      }|j	                  |       |S )an  A general quantization scheme is being developed in `tf.contrib.quantize`.

  Consider using that instead, though since it is in the tf.contrib namespace,
  it is not subject to backward compatibility guarantees.

  Args:
    input_graph: A `GraphDef`.
    num_bits: The number of bits for quantize training.

  Returns:
    The graph with quantize training done.
  )r   GraphDefr   SerializeToStringParseFromString)input_graphnum_bitsgraphresult_graph_strings       /var/www/html/emotional.easysim.app/public_html/venv/lib/python3.12/site-packages/tensorflow/python/training/quantize_training.py do_quantize_training_on_graphdefr      sA    $ 


%:##%x1 +,	,    )__doc__tensorflow.core.frameworkr   +tensorflow.python._pywrap_quantize_trainingr   tensorflow.python.utilr    tensorflow.python.util.tf_exportr   
deprecatedr    r   r   <module>r      sR    ( / Z . 6 JL 789 :Lr   