• Adam Procter's avatar
    Dynamic-shape backend API change, with prototype implementation (#2844) · 5b0c6a32
    Adam Procter authored
    * Add create_dynamic_tensor function to Backend signature
    
    * Add skeleton of dynamic wrapper class
    
    * Simple test for construction
    
    * Some progress on dynamic tensor creation
    
    * Compile dynamic wrapper into core; change config string to a factory option
    
    * Add wrapped executable, working on simple example
    
    * Add wrapped dynamic tensor
    
    * Update to match new tensor API
    
    * Update wrapper to clone the graph; basic dyn test now passes
    
    * Update call_with_validate to grok dynamic
    
    * Make the unit tests a little prettier
    
    * Make get_element_type virtual
    
    * Change dynamic tests to be backend-parametric; fix get_element_type check for dyn tensors
    
    * Add dynamic.in.cpp
    
    * CODEOWNERS entry for dynamic_wrapper
    
    * Remove overly-accommodating behavior for create_dynamic_tensor on non-dynamic BEs
    
    * Pass enable_performance_collection to wrapped compile() calls
    
    * More comments in the 'abc' test
    
    * Fix 'create' wrapper in pybind11
    
    * Remove unnecessary WrappedStaticTensor class
    
    * Better names for the classes, and add some docstrings
    
    * Fix pybind for 'create' to return shared_ptr now
    5b0c6a32
backend.cpp 2.1 KB