• Amy Zhuang's avatar
    Reuse memory for CPU backend. (#2238) · b277627a
    Amy Zhuang authored
    * Reuse memory for CPU backend.
    
    * Use NGRAPH_REUSE_MEMORY to enable memory reuse.
    
    * Add a test.
    
    * Move make_function to test_tools.cpp.
    
    * Add more comments.
    
    * Address PR Feedback: add a method to CPU backend.
    
    * *Add a member to CPUOpAnnotations to remove redundant code.
    
    *Overload compile function for CPU backend.
    
    * Move make_function out of test_tools.
    
    * Address PR Feedback.
    
    * Use modified liveness analysis in CPUMemoryAssignment pass.
    
    * Use lambda expression.
    
    * Fix style error.
    
    * Check if any user of the tensor has destructive io when building tensor alias map.
    
    * Fix a bug.
    
    * Check if tensor has multiple users.
    
    * Allow tensor alias for destructive oi node.
    
    * Update multiple_users_tensor set along the chain of in place ops.
    
    * No tensor alias if input is parameter or constant.
    
    * Use buffer sets in cpu memory assignment,
    tensors sharing the same memory buffer are put into the same set.
    
    * Add more checks and do not combine sets when allowing destructive oi.
    
    * Style fix.
    
    * Do no allow destructive oi if the input tensor uses function input memory.
    
    Update set label.
    
    * Add unit tests.
    
    * Style fix.
    
    * Get the correct size for memcpy when the input is padded.
    
    * Style fix.
    
    * Address PR feedback.
    
    * Address PR feedback.
    
    * Move make_function in cpu_test after #if 0 and before the disabled test.
    
    * Add utility functions.
    
    Use iterator.
    
    Rename variables.
    
    * Add pass attributes and move cpu memory assignment to common passes (#2504)
    b277627a
Name
Last commit
Last update
..
10_bucket_LSTM.json Loading commit data...
1_lstm_cell_forward.json Loading commit data...
1rnn_layer_3lstm_cell.json Loading commit data...
2layer_3timestep_ic100oc100.json Loading commit data...
2rnn_layer_1timestep.json Loading commit data...
2rnn_layer_3lstm_cell.json Loading commit data...
3_lstm_cell_forward.json Loading commit data...
Graph_fprop_sigmoid.json Loading commit data...
LSTM_backward.json Loading commit data...
LSTM_forward.json Loading commit data...
Seq2Seq_backward.json Loading commit data...
Seq2Seq_forward.json Loading commit data...
Sockeye_Seq2Seq_backward.json Loading commit data...
Sockeye_Seq2Seq_forward.json Loading commit data...
batch_dot_3.json Loading commit data...
bn_bprop.json Loading commit data...
bn_fprop.json Loading commit data...
bn_fprop_b2c3h2w2.json Loading commit data...
gru_debug.json Loading commit data...
lstm_bi_directional.json Loading commit data...
mnist_mlp_forward.json Loading commit data...
mxnet_densenet121_inference_batch1_float32.json Loading commit data...
rnn-10-step-fusion-test.json Loading commit data...
tranpose.json Loading commit data...