• Adam Procter's avatar
    Partial Shapes and Types, Part 3: Framework for partial shape/element type validation (#1728) · 0563a3cf
    Adam Procter authored
    * Adapt Tensor class to have partial shapes
    
    * Add PartialShapes to Input, Output, Function, Node classes
    
    * Terminological cleanup
    
    * Add PartialShape propagation for Parameter and Result
    
    * Implement partial-shape propagation for elementwise ops
    
    * More comments
    
    * One more comment tweak
    
    * Add tests for the merge functions
    
    * Add merging of undetermined element types
    
    * Fix a goophup in deserializer implementation
    
    * Implement fallback for ops that do not support partial shape/type validation
    
    * Updates for some older unit tests, now that operator[] exists
    
    * Add missing validate_punt_if_incomplete to AllReduce
    
    * Better docstrings for the stuff introduced in #1692; remove prototype for unimplemented, unused PartialShape::append()
    
    * One more docstring thing I forgot to save
    
    * Switch terminology from 'determined/undetermined' to 'static/dynamic'
    
    * Switch terminology from 'complete/incomplete' to 'static/dynamic' for shapes; fix up some mushily worded comments
    
    * Fix overzealous edits from the last commit
    
    * Rename one test that escaped the Great Renaming
    
    * Remove unnecessary validate_punt_if_dynamic from Reshape
    
    * Show argument types/shapes in long NodeDescription; tank unit tests to block merge
    
    * Fix dynamic element type propagation for elementwise ops, add some unit tests for same
    
    * Roll 'Not' back to existing behavior (non-boolean input types allowed)
    
    * Add a TODO tag to a todo item
    0563a3cf
element_type.cpp 3.53 KB