tf.raw_ops.ResourceCountUpTo
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
Increments variable pointed to by 'resource' until it reaches 'limit'.
tf.raw_ops.ResourceCountUpTo(
    resource, limit, T, name=None
)
| Args | 
|---|
| resource | A Tensorof typeresource.
Should be from a scalarVariablenode. | 
| limit | An int.
If incrementing ref would bring it above limit, instead generates an
'OutOfRange' error. | 
| T | A tf.DTypefrom:tf.int32, tf.int64. | 
| name | A name for the operation (optional). | 
| Returns | 
|---|
| A Tensorof typeT. | 
  
  
 
  
    
    
      
       
    
    
  
  
  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."],[],[]]