tf.estimator.Exporter
    
    
      
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
  
  
   
  
    
  
  
    
    
A class representing a type of model export. (deprecated)
tf . estimator . Exporter ( 
    * args ,  ** kwargs 
) 
Deprecated:  THIS FUNCTION IS DEPRECATED. It will be removed in a future version.
Instructions for updating:
Use tf.keras instead. 
Attributes 
name 
Directory name.
A directory name under the export base directory where exports of
this type are written.  Should not be None nor empty.
 
 
Methods 
exportView source 
@abc . abstractmethod export ( 
    estimator ,  export_path ,  checkpoint_path ,  eval_result ,  is_the_final_export 
) 
Exports the given Estimator to a specific format.
Args 
estimator
 
the Estimator to export.
 
 
export_path
 
A string containing a directory where to write the export.
 
 
checkpoint_path
 
The checkpoint path to export.
 
 
eval_result
 
The output of Estimator.evaluate 
 
is_the_final_export
 
This boolean is True when this is an export in the
end of training.  It is False for the intermediate exports during the
training. When passing Exporter to tf.estimator.train_and_evaluateis_the_final_export is always False if TrainSpec.max_stepsNone.
 
 
Returns 
The string path to the exported directory or None if export is skipped.
 
 
  
  
 
  
    
    
      
       
    
    
  
  
 
  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. Some content is licensed under the numpy license .
  Last updated 2023-03-27 UTC.
 
 
  
  
  
    
      [null,null,["Last updated 2023-03-27 UTC."],[],[]]