• Jeremy Reizenstein's avatar
    save_ply binary · 197f1d62
    Jeremy Reizenstein authored
    Summary:
    Make save_ply save to binary instead of ascii. An option makes the previous functionality available. save_ply's API accepts a stream, but this is undocumented; that stream must now be a binary stream not a text stream.
    
    Avoiding warnings about making tensors from immutable numpy arrays.
    
    Possible performance improvement when reading binary files.
    
    Fix reading zero-length binary lists.
    
    Reviewed By: nikhilaravi
    
    Differential Revision: D22333118
    
    fbshipit-source-id: b423dfd3da46e047bead200255f47a7707306811
    197f1d62
test_ply_io.py 20.2 KB