• tsocha's avatar
    [ONNX] Enable Pad modes for ONNX pad operator (#2590) · f8146495
    tsocha authored
    * Add support for negative padding
    
    * Use std::bind in pad builder check
    
    * Add support for negative padding in CPU backend
    
    * Updated kernel to do pad+slice
    
    * Remove type conversion warnings
    
    * Fix review comments
    
    * Remove interior padding from core op and interpreter stuff
    
    * Update backends other than GPU for retirement of padding_interior
    
    * Skeleton of support for edge/reflect padding
    
    * Post-merge cleanup
    
    * Attempt reference implementation for EDGE.
    
    * Fix the edge-padding reference, and add some unit tests
    
    * Implement REFLECT padding ref; add tests
    
    * Fixes to the CPU stuff so it compiles now
    
    * Fix test
    
    * Add support for different pad modes
    
    * Restore a stub get_padding_interior function, and tweak some stale comments
    
    * Update ONNX importer to not supply interior padding value; add checks for padding-too-small for EDGE and REFLECT
    
    * Typo
    
    * Bop a warning
    
    * Attempt fix to INTELGPU backend
    
    * Attempt another fix to INTELGPU backend
    
    * Fix pyapi
    
    * Style apply
    
    * Add support for padding modes
    
    * Remove unnecesary node validation checks
    
    * Remove tests for minimal reflect and edge pad
    
    * Remove commented tests
    
    * Remove unnecesary Asserts
    
    * Little update of pad documentation
    
    * Monospace for pad_mode options
    
    * Revert "Remove tests for minimal reflect and edge pad"
    
    This reverts commit 81e4787ea47195b832cab1452dde698bc05776fe.
    
    * Revert "Remove unnecesary node validation checks"
    
    This reverts commit 7e68db7564f3c9b1fd40e7db1d1bda4e0677cad9.
    
    * Test only spatial dims
    
    * axis -> spatial axis
    
    * Fix typo
    
    * Style check
    
    * Update test
    
    * Add CoordinateDiff include
    
    * Remove pad_mode from tree visualization
    
    * Convert padding into NVShape
    
    * Skip failing tests on GPU
    
    * Revert mode change
    
    * Remove merge artifact
    
    * Rename pad kernel into pad_ref
    f8146495
Name
Last commit
Last update
..
files Loading commit data...
models Loading commit data...
ref_generators Loading commit data...
util Loading commit data...
CMakeLists.txt Loading commit data...
algebraic_simplification.cpp Loading commit data...
all_close_f.cpp Loading commit data...
assertion.cpp Loading commit data...
autodiff.in.cpp Loading commit data...
backend_all.in.cpp Loading commit data...
backend_any.in.cpp Loading commit data...
backend_api.cpp Loading commit data...
backend_api.in.cpp Loading commit data...
backend_arg_reduce.in.cpp Loading commit data...
backend_binary_elementwise.in.cpp Loading commit data...
backend_broadcast.in.cpp Loading commit data...
backend_comparison.in.cpp Loading commit data...
backend_debug_api.cpp Loading commit data...
backend_dot.in.cpp Loading commit data...
backend_embedding_lookup.in.cpp Loading commit data...
backend_graph_comparison.in.cpp Loading commit data...
backend_one_hot.in.cpp Loading commit data...
backend_performance.cpp Loading commit data...
backend_pool.in.cpp Loading commit data...
backend_reshape.in.cpp Loading commit data...
backend_sum.in.cpp Loading commit data...
backend_test.in.cpp Loading commit data...
backend_topk.in.cpp Loading commit data...
backend_unary_elementwise.in.cpp Loading commit data...
build_graph.cpp Loading commit data...
builder.cpp Loading commit data...
builder_autobroadcast.cpp Loading commit data...
builder_quantization.cpp Loading commit data...
constant_folding.cpp Loading commit data...
control_dependencies.cpp Loading commit data...
convolution_test.in.cpp Loading commit data...
coordinate.cpp Loading commit data...
copy.cpp Loading commit data...
core.cpp Loading commit data...
core_fusion.cpp Loading commit data...
cpio.cpp Loading commit data...
cpu_codegen.cpp Loading commit data...
cpu_debugger.cpp Loading commit data...
cpu_fusion.cpp Loading commit data...
cpu_test.cpp Loading commit data...
cse.cpp Loading commit data...
distributed.in.cpp Loading commit data...
distributed_setup.cpp Loading commit data...
distributed_setup.hpp Loading commit data...
element_type.cpp Loading commit data...
file_util.cpp Loading commit data...
gpu_fusion.cpp Loading commit data...
gpu_test.cpp Loading commit data...
halide.cpp Loading commit data...
hybrid_backend.cpp Loading commit data...
includes.cpp Loading commit data...
input_output_assign.cpp Loading commit data...
main.cpp Loading commit data...
misc.cpp Loading commit data...
misc.hpp Loading commit data...
mkldnn.cpp Loading commit data...
node_input_output.cpp Loading commit data...
nop_elimination.cpp Loading commit data...
onnx_import.in.cpp Loading commit data...
onnxifi.cpp Loading commit data...
onnxifi_span.cpp Loading commit data...
op.cpp Loading commit data...
partial_shape.cpp Loading commit data...
pass_liveness.cpp Loading commit data...
pass_manager.cpp Loading commit data...
pass_memory_layout.cpp Loading commit data...
pattern.cpp Loading commit data...
reshape_elimination.cpp Loading commit data...
reshape_sinking.cpp Loading commit data...
serialize.cpp Loading commit data...
shape.cpp Loading commit data...
specialize_shapes.cpp Loading commit data...
tensor.cpp Loading commit data...
tools.cpp Loading commit data...
type_prop.cpp Loading commit data...
update_reference.sh Loading commit data...
util.cpp Loading commit data...
uuid.cpp Loading commit data...
zero_dim_tensor_elimination.cpp Loading commit data...