test the compatibility between execution time and compiling time (#21511)
* test the equality between running-time and compiling time * add white_list for compile_vs_runtime check test=develop * add check of new-registered op on compile&runtime-lodEquality test=develop * test=develop * test=develop * update white-list test=develop * merge with new code test=develop * fix code style test=develop * test=devleop * test=develop * test=develop * test=develop * add more ops to white_list test=develop * test=develop * test=develop * test=develop * test=develop * test=develop * fix code_style: add comments test=develop * test=develop1.6.2
parent
9dff56e8e2
commit
53c16eabe4
@ -0,0 +1,28 @@
|
||||
# Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserve
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# If the output after infershape() is a lod_tensor, commenly its lod_level
|
||||
# should be equal during compile time and run time.
|
||||
# For ops in this whitelist, the equality check of lod_level between
|
||||
# compiletime&runtime will not be required.
|
||||
COMPILE_RUN_OP_WHITE_LIST = [
|
||||
'lod_reset', 'sequence_pool', 'sequence_slice', 'generate_mask_labels',
|
||||
'sequence_reshape', 'generate_proposals', 'mine_hard_examples',
|
||||
'retinanet_detection_output', 'ctc_align', 'fusion_seqpool_cvm_concat',
|
||||
'gru', 'sequence_erase', 'rpn_target_assign', 'retinanet_target_assign',
|
||||
'filter_by_instag', 'fusion_seqpool_concat', 'multiclass_nms',
|
||||
'multiclass_nms2', 'im2sequence', 'generate_proposal_labels',
|
||||
'distribute_fpn_proposals', 'detection_map', 'locality_aware_nms',
|
||||
'var_conv_2d'
|
||||
]
|
Loading…
Reference in new issue