• Matt's avatar
    Better TF docstring types (#23477) · f8b25744
    Matt authored
    * Rework TF type hints to use | None instead of Optional[] for tf.Tensor
    
    * Rework TF type hints to use | None instead of Optional[] for tf.Tensor
    
    * Don't forget the imports
    
    * Add the imports to tests too
    
    * make fixup
    
    * Refactor tests that depended on get_type_hints
    
    * Better test refactor
    
    * Fix an old hidden bug in the test_keras_fit input creation code
    
    * Fix for the Deit tests
    f8b25744
test_modeling_tf_bart.py 85 KB