tf.estimator.export.RegressionOutput
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
Represents the output of a regression head.
Inherits From: ExportOutput
tf.estimator.export.RegressionOutput(
    value
)
| Args | 
|---|
| value | a float Tensorgiving the predicted values.  Required. | 
| Raises | 
|---|
| ValueError | if the value is not a Tensorwith dtype tf.float32. | 
Methods
as_signature_def
View source
as_signature_def(
    receiver_tensors
)
Generate a SignatureDef proto for inclusion in a MetaGraphDef.
The SignatureDef will specify outputs as described in this ExportOutput,
and will use the provided receiver_tensors as inputs.
| Args | 
|---|
| receiver_tensors | a Tensor, or a dict of string toTensor, specifying
input nodes that will be fed. | 
  
  
 
  
    
    
      
       
    
    
  
  
  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 2021-08-16 UTC.
  
  
  
    
      [null,null,["Last updated 2021-08-16 UTC."],[],[]]