• Chris Sullivan's avatar
    GPU Padding - add support for custom pad value and interior padding (#860) · 0be581c0
    Chris Sullivan authored
    * * cuda_emitter::build_pad now utilizes pad_value.
    
    * Added TypeInfo class for dispatching c-type information from the underlying ngraph element::Type.
      Adjusted test to use all_close when comparing floating point values (max_pool_2d_1channel_1image_overpadded).
    
    * Refactored max_pool_1d into cuda_emitter so that numeric_limits<c_type>::lowest() could be used for initial max value.
    Test max_pool_2d_1channel_1image_padded_negative_values now enabled and passes.
    
    * Removed old function and switch to size_t to match ngraph.
    
    * Added virtual dtor.
    
    * Adding support for interior padding. All op::Pad functionality is now included.
    
    * More info in runtime_error for checking of tensor dimensions. Removed commented code.
    0be581c0
Name
Last commit
Last update
..
ngraph Loading commit data...
resource Loading commit data...
tools Loading commit data...
CMakeLists.txt Loading commit data...