tensorflow / tensor2tensor

Library of deep learning models and datasets designed to make deep learning more accessible and accelerate ML research.
Apache License 2.0
15.5k stars 3.49k forks source link

How to use the pack_sequences_ops? #1846

Open Mistobaan opened 4 years ago

Mistobaan commented 4 years ago

Description

from tf.mesh there is the transfomer dataset code that imports this function

from tensor2tensor.data_generators.ops import pack_sequences_ops

the code seems to be in the repository but not linked / compiled.

env:

mesh-tensorflow               0.1.16         
tensor2tensor                 1.15.7         
tensorboard                   1.15.0         
tensorboard-plugin-wit        1.7.0          
tensorboardcolab              0.0.22         
tensorflow                    1.15.2         
tensorflow-addons             0.8.3          
tensorflow-datasets           2.1.0          
tensorflow-estimator          1.15.1         
tensorflow-gan                2.0.0          
tensorflow-gcs-config         2.3.0          
tensorflow-hub                0.9.0          
tensorflow-metadata           0.23.0         
tensorflow-privacy            0.2.2          
tensorflow-probability        0.7.0  
iseesaw commented 2 years ago

I meet the same issue.