• Adam Procter's avatar
    Add some convenience macros/classes for error messages (#1258) · deacf29a
    Adam Procter authored
    * Testing out some ideas for better error messages on AvgPool
    
    * Add uncaught_exception() check to ConstructionAssertLogger dtor
    
    * More general assertion class, not homed inside Node
    
    * Minor formatting change
    
    * NODE_ASSERT for type prop failure
    
    * Produce lighter-weight DummyAssertionHandler when assertion succeeds
    
    * New ctor for AssertionHelper that takes a single location arg; more const&-ness for the constructors
    
    * Remove move constructor for AssertionHelper; fix broken test in assertion.cpp
    
    * Miscellaneous improvements
    
    * Templatized AssertionHelper so different exception classes can be used; implemented TYPE_CHECK_ASSERT around this
    * Changed from a "stack" of locations to a single location (the stack was too complicated)
    * Added "FAIL" classes/macros which do not take a condition
    
    * Rename a helper function
    
    * Cleanup, cruft removal
    
    * Add test to make sure the assert helper has the lifetime we expect
    
    * Missing includes
    deacf29a
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_api.cpp Loading commit data...
backend_debug_api.cpp Loading commit data...
backend_performance.cpp Loading commit data...
backend_test.in.cpp Loading commit data...
build_graph.cpp Loading commit data...
builder.cpp Loading commit data...
builder_autobroadcast.cpp Loading commit data...
codegen.cpp Loading commit data...
constant_folding.cpp Loading commit data...
convolution_test.in.cpp Loading commit data...
copy.cpp Loading commit data...
core_fusion.cpp Loading commit data...
cpio.cpp Loading commit data...
cpu_fusion.cpp Loading commit data...
cpu_test.cpp Loading commit data...
cse.cpp Loading commit data...
cudnn.cpp Loading commit data...
distributed.cpp Loading commit data...
element_type.cpp Loading commit data...
file_util.cpp Loading commit data...
gpu_test.cpp Loading commit data...
graph_partition.cpp Loading commit data...
includes.cpp Loading commit data...
inliner.cpp Loading commit data...
input_output_assign.cpp Loading commit data...
main.cpp Loading commit data...
mkldnn.cpp Loading commit data...
nop_elimination.cpp Loading commit data...
op.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...
serialize.cpp Loading commit data...
shape.cpp Loading commit data...
tensor.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...