Go: Update generated wrapper functions for TensorFlow ops.
PiperOrigin-RevId: 284297225 Change-Id: Ifbcd448f1cbb24ec8a417ae108c821a3d1e8857b
This commit is contained in:
		
							parent
							
								
									e0fe27afa6
								
							
						
					
					
						commit
						164aa8303b
					
				@ -15248,8 +15248,15 @@ func StringLengthUnit(value string) StringLengthAttr {
 | 
			
		||||
//
 | 
			
		||||
// Computes the length of each string given in the input tensor.
 | 
			
		||||
//
 | 
			
		||||
// >>> strings = tf.constant(['Hello','TensorFlow', '\U0001F642'])
 | 
			
		||||
// >>> tf.strings.length(strings).numpy() # default counts bytes
 | 
			
		||||
// array([ 5, 10, 4], dtype=int32)
 | 
			
		||||
// >>> tf.strings.length(strings, unit="UTF8_CHAR").numpy()
 | 
			
		||||
// array([ 5, 10, 1], dtype=int32)
 | 
			
		||||
//
 | 
			
		||||
//
 | 
			
		||||
// Arguments:
 | 
			
		||||
//	input: The string for which to compute the length.
 | 
			
		||||
//	input: The strings for which to compute the length for each element.
 | 
			
		||||
//
 | 
			
		||||
// Returns Integer tensor that has the same shape as `input`. The output contains the
 | 
			
		||||
// element-wise string lengths of `input`.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user