tf.raw_ops.DecodePaddedRaw
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
Reinterpret the bytes of a string as a vector of numbers.
tf.raw_ops.DecodePaddedRaw(
    input_bytes, fixed_length, out_type, little_endian=True, name=None
)
| Args | 
|---|
| input_bytes | A Tensorof typestring. Tensor of string to be decoded. | 
| fixed_length | A Tensorof typeint32.
Length in bytes for each element of the decoded output. Must be a multiple
of the size of the output type. | 
| out_type | A tf.DTypefrom:tf.half, tf.float32, tf.float64, tf.int32, tf.uint16, tf.uint8, tf.int16, tf.int8, tf.int64, tf.bfloat16. | 
| little_endian | An optional bool. Defaults toTrue.
Whether the inputinput_bytesis in little-endian order. Ignored forout_typevalues that are stored in a single byte, likeuint8 | 
| name | A name for the operation (optional). | 
| Returns | 
|---|
| A Tensorof typeout_type. | 
  
  
 
  
    
    
      
       
    
    
  
  
  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 2024-04-26 UTC.
  
  
  
    
      [null,null,["Last updated 2024-04-26 UTC."],[],[]]