tensorflow::
    
   ops::
    
   RefSwitch
  
  
   #include <control_flow_ops.h>
  
  
   Forwards the ref tensor
   
    data
   
   to the output port determined by
   
    pred
   
   .
  
Summary
   If
   
    pred
   
   is true, the
   
    data
   
   input is forwarded to
   
    output_true
   
   . Otherwise, the data goes to
   
    output_false
   
   .
  
Args:
- scope: A Scope object
 - data: The ref tensor to be forwarded to the appropriate output.
 - pred: A scalar that specifies which output port will receive data.
 
Returns:
- 
     
Outputoutput_false: Ifpredis false, data will be forwarded to this output. - 
     
Outputoutput_true: Ifpredis true, data will be forwarded to this output. 
     Constructors and Destructors | 
   |
|---|---|
     
      
       RefSwitch
      
      (const ::
      
       tensorflow::Scope
      
      & scope, ::
      
       tensorflow::Input
      
      data, ::
      
       tensorflow::Input
      
      pred)
     
      | 
   
     Public attributes | 
   |
|---|---|
     
      
       operation
      
     
     | 
    |
     
      
       output_false
      
     
     | 
    |
     
      
       output_true
      
     
     | 
    |
Public attributes
Public functions
RefSwitch
RefSwitch( const ::tensorflow::Scope & scope, ::tensorflow::Input data, ::tensorflow::Input pred )