MCPcopy Create free account

hub / github.com/PaddlePaddle/Paddle2ONNX / functions

Functions2,493 in github.com/PaddlePaddle/Paddle2ONNX

↓ 1 callersFunctioncd
(path)
setup.py:61
↓ 1 callersFunctioncheck_clang_apply_replacements_binary
Checks if invoking supplied clang-apply-replacements binary works.
tools/codestyle/clang-tidy.py:192
↓ 1 callersFunctioncheck_model
(onnx_model)
paddle2onnx/utils.py:46
↓ 1 callersFunctioncheck_operator_with_print
( program, model_file, input_shapes, input_dtypes, index_mapping, candidates, line
debug/p2o_infer_debugger.py:188
↓ 1 callersFunctioncheck_operator_with_shadow_output
( program, model_file, input_shapes, input_dtypes, index_mapping, candidates, line
debug/p2o_infer_debugger.py:514
↓ 1 callersMethodclip_extra_program_only
load inference model(program only) and clip extra op Args: orig_program_path(str): input model path clipped_p
tests/onnxbase.py:424
↓ 1 callersFunctioncompare
比较函数 :param result: 输入值 :param expect: 输出值 :param delta: 误差值 :return:
tests/onnxbase.py:81
↓ 1 callersFunctioncompare_data
(result_data, expect_data, delta, rtol)
tests/onnxbase.py:49
↓ 1 callersFunctioncompare_programs
Compares two pir programs' operations.
paddle2onnx/convert.py:47
↓ 1 callersFunctioncompare_shape
(result_data, expect_data)
tests/onnxbase.py:75
↓ 1 callersFunctioncrop_image
(img, target_size, center)
tests/test_quantize_model.py:55
↓ 1 callersFunctiondecompose_program
Decomposes the given pir program.
paddle2onnx/convert.py:90
↓ 1 callersMethoddev_check_ops
(self, op_name, model_file_path)
tests/onnxbase.py:406
↓ 1 callersFunctiondygraph2onnx
(layer, save_file, input_spec=None, opset_version=9, **configs)
paddle2onnx/convert.py:366
↓ 1 callersFunctionexpect
( node_op: onnx.NodeProto, inputs: Sequence[np.ndarray | TensorProto], outputs: Sequence[np.ndarra
tests/onnx/base_expect.py:250
↓ 1 callersFunctionexport
( model_filename, params_filename, save_file=None, opset_version=7, auto_upgrade_opset=Tru
paddle2onnx/convert.py:122
↓ 1 callersFunctionfind_compilation_database
Adjusts the directory until a compilation database is found.
tools/codestyle/clang-tidy.py:66
↓ 1 callersFunctionfind_used_op_index
ret: dict[int, list[list[int]]]
debug/p2o_infer_debugger.py:765
↓ 1 callersFunctionfunction_expand_helper
( node: NodeProto, function_proto: FunctionProto, op_prefix: str )
tests/onnx/base_expect.py:103
↓ 1 callersFunctiongenerate_copyright
(path, comment_mark)
tools/codestyle/copyright.py:82
↓ 1 callersMethodgenerate_quantized_model
( self, model_path, algo="KL", quantizable_op_type=["conv2d"], is_full
tests/test_quantize_model_minist.py:156
↓ 1 callersMethodgenerate_quantized_model
( self, model_path, quantizable_op_type, algo="mse", is_full_quantize=
tests/test_quantize_model.py:280
↓ 1 callersMethodgenerate_quantized_model
( self, original_model_path, quantize_model_path, model_filename="__model__",
tests/test_quantize_model_speedup.py:84
↓ 1 callersFunctionget_dim_from_proto
(dim)
tools/onnx/onnx_infer_shape.py:36
↓ 1 callersFunctionget_op_statistics
(program)
debug/p2o_infer_debugger.py:686
↓ 1 callersFunctionget_tidy_invocation
Gets a command line for clang-tidy.
tools/codestyle/clang-tidy.py:129
↓ 1 callersFunctioninfer_shape
(program, input_shape_dict)
tools/paddle/infer_paddle_model_shape.py:28
↓ 1 callersFunctionisValidCString
paddle2onnx/converter.cc:25
↓ 1 callersMethodless_equal
(x, y)
tools/onnx/onnx_infer_shape.py:1799
↓ 1 callersFunctionlocate_issue_by_traversal
( index, index_mapping, program, model_file_path, input_shapes, input_dtypes, outp
debug/p2o_infer_debugger.py:789
↓ 1 callersFunctionmain
Runs clang-tidy over all files in a compilation database.
tools/codestyle/clang-tidy.py:248
↓ 1 callersFunctionmain
(argv=None)
tools/codestyle/copyright.py:113
↓ 1 callersFunctionmain
()
debug/p2o_infer_debugger.py:889
↓ 1 callersFunctionmain
()
paddle2onnx/command.py:135
↓ 1 callersFunctionmake_absolute
Convert a relative file path to an absolute file path.
tools/codestyle/clang-tidy.py:77
↓ 1 callersFunctionmerge_replacement_files
Merge all replacement files in a directory into a single file
tools/codestyle/clang-tidy.py:167
↓ 1 callersFunctionmulticlass_nms
This operator is to do multi-class non maximum suppression (NMS) on boxes and scores. In the NMS step, this operator greedily selects a s
tests/detection_ops/nms.py:22
↓ 1 callersFunctionpaddle2onnx_export_configs
(configs)
paddle2onnx/utils.py:160
↓ 1 callersFunctionparse_arguments
()
tools/paddle/prune_paddle_model.py:83
↓ 1 callersFunctionparse_arguments
()
tools/paddle/infer_paddle_model_shape.py:84
↓ 1 callersFunctionparse_arguments
()
tools/onnx/onnx_infer_shape.py:2700
↓ 1 callersFunctionparse_arguments
()
tools/onnx/prune_onnx_model.py:19
↓ 1 callersFunctionparse_arguments
()
tools/onnx/rename_onnx_model.py:19
↓ 1 callersFunctionparse_arguments
()
debug/p2o_infer_debugger.py:58
↓ 1 callersFunctionparse_arguments
()
paddle2onnx/convert_to_fp16.py:20
↓ 1 callersFunctionparse_arguments
()
paddle2onnx/optimize.py:20
↓ 1 callersFunctionpost_quant_fake
Utilizing post training quantization methon to quantize the FP32 model, and it not uses calibrate data and the fake model cannot be used in p
tests/fake_quant.py:46
↓ 1 callersFunctionprepend_feed_ops
(program, feed_target_names)
tools/paddle/prune_paddle_model.py:23
↓ 1 callersFunctionprocess_old_ops_desc
(program)
tools/paddle/infer_paddle_model_shape.py:21
↓ 1 callersFunctionprune_onnx_model
( onnx_model_file, target_node_name="p2o.print", target_dims=[1], target_dtype="float32", )
debug/prune_onnx_model.py:24
↓ 1 callersFunctionresize_short
(img, target_size)
tests/test_quantize_model.py:47
↓ 1 callersMethodsample_convert_config
(self, draw)
tests/test_auto_scan_mv.py:40
↓ 1 callersMethodset_input_spec
(self)
tests/onnxbase.py:294
↓ 1 callersFunctionskip_check_file
Skip checking some files
tools/codestyle/clang-tidy.py:110
↓ 1 callersMethodtest
(self)
tests/test_auto_scan_mv.py:60
↓ 1 callersFunctiontest_Conv1DTranspose_10
api: paddle.nn.Conv1DTranspose op version: 10
tests/test_nn_Conv1DTranspose.py:81
↓ 1 callersFunctiontest_Conv1DTranspose_11
api: paddle.nn.Conv1DTranspose op version: 11
tests/test_nn_Conv1DTranspose.py:98
↓ 1 callersFunctiontest_Conv1DTranspose_12_Padding_list1
api: paddle.nn.Conv1DTranspose op version: 12
tests/test_nn_Conv1DTranspose.py:149
↓ 1 callersFunctiontest_Conv1DTranspose_12_Padding_list2
api: paddle.nn.Conv1DTranspose op version: 12
tests/test_nn_Conv1DTranspose.py:166
↓ 1 callersFunctiontest_Conv1DTranspose_12_Padding_tuple1
api: paddle.nn.Conv1DTranspose op version: 12
tests/test_nn_Conv1DTranspose.py:183
↓ 1 callersFunctiontest_Conv1DTranspose_12_SAME
api: paddle.nn.Conv1DTranspose op version: 12
tests/test_nn_Conv1DTranspose.py:132
↓ 1 callersFunctiontest_Conv1DTranspose_12_VALID
api: paddle.nn.Conv1DTranspose op version: 12
tests/test_nn_Conv1DTranspose.py:115
↓ 1 callersFunctiontest_Conv1DTranspose_9
api: paddle.Conv1DTranspose op version: 9
tests/test_nn_Conv1DTranspose.py:64
↓ 1 callersFunctiontest_Conv1D_11
api: paddle.nn.Conv1D op version: 11
tests/test_nn_Conv1D.py:98
↓ 1 callersFunctiontest_Conv1D_11_padding_0
api: paddle.nn.Conv1D op version: 11
tests/test_nn_Conv1D.py:132
↓ 1 callersFunctiontest_Conv1D_11_padding_1
api: paddle.nn.Conv1D op version: 11
tests/test_nn_Conv1D.py:149
↓ 1 callersFunctiontest_Conv1D_11_padding_2
api: paddle.nn.Conv1D op version: 11
tests/test_nn_Conv1D.py:166
↓ 1 callersFunctiontest_Conv1D_11_padding_reflect
api: paddle.nn.Conv1D op version: 11
tests/test_nn_Conv1D.py:183
↓ 1 callersFunctiontest_Conv1D_11_padding_replicate
api: paddle.nn.Conv1D op version: 11
tests/test_nn_Conv1D.py:200
↓ 1 callersFunctiontest_Conv1D_12
api: paddle.nn.Conv1D op version: 12
tests/test_nn_Conv1D.py:115
↓ 1 callersFunctiontest_Conv2DTranspose_9_10_11_12
api: paddle.Conv2DTranspose op version: 9, 10, 11, 12
tests/test_nn_Conv2DTranspose.py:63
↓ 1 callersFunctiontest_Conv2DTranspose_9_10_11_12_group
api: paddle.Conv2DTranspose op version: 9
tests/test_nn_Conv2DTranspose.py:148
↓ 1 callersFunctiontest_Conv2DTranspose_9_output_padding
api: paddle.Conv2DTranspose op version: 9
tests/test_nn_Conv2DTranspose.py:80
↓ 1 callersFunctiontest_Conv2DTranspose_9_output_padding_1
api: paddle.Conv2DTranspose op version: 9
tests/test_nn_Conv2DTranspose.py:97
↓ 1 callersFunctiontest_Conv2DTranspose_9_output_padding_2
api: paddle.Conv2DTranspose op version: 9
tests/test_nn_Conv2DTranspose.py:114
↓ 1 callersFunctiontest_Conv2DTranspose_9_output_padding_3
api: paddle.Conv2DTranspose op version: 9
tests/test_nn_Conv2DTranspose.py:131
↓ 1 callersFunctiontest_Upsample_scale_factor
api: paddle.nn.functional.upsample op version: 11, 12
tests/test_nn_Upsample.py:95
↓ 1 callersFunctiontest_Upsample_scale_factor_bicubic
api: paddle.nn.functional.upsample op version: 11, 12
tests/test_nn_Upsample.py:295
↓ 1 callersFunctiontest_Upsample_scale_factor_bilinear
api: paddle.nn.functional.upsample op version: 11, 12
tests/test_nn_Upsample.py:199
↓ 1 callersFunctiontest_Upsample_scale_factor_linear
api: paddle.nn.functional.upsample op version: 11, 12
tests/test_nn_Upsample.py:151
↓ 1 callersFunctiontest_Upsample_scale_factor_nearest
api: paddle.nn.functional.upsample op version: 11, 12
tests/test_nn_Upsample.py:247
↓ 1 callersFunctiontest_Upsample_scale_factor_trilinear
api: paddle.nn.functional.upsample op version: 11, 12
tests/test_nn_Upsample.py:345
↓ 1 callersFunctiontest_Upsample_size
api: paddle.nn.functional.upsample op version: 11, 12
tests/test_nn_Upsample.py:58
↓ 1 callersFunctiontest_Upsample_size_bicubic
api: paddle.nn.functional.upsample op version: 11, 12
tests/test_nn_Upsample.py:271
↓ 1 callersFunctiontest_Upsample_size_bilinear
api: paddle.nn.functional.upsample op version: 11, 12
tests/test_nn_Upsample.py:175
↓ 1 callersFunctiontest_Upsample_size_linear
api: paddle.nn.functional.upsample op version: 11, 12
tests/test_nn_Upsample.py:131
↓ 1 callersFunctiontest_Upsample_size_linear_tensor
api: paddle.nn.functional.upsample op version: 11, 12
tests/test_nn_Upsample.py:113
↓ 1 callersFunctiontest_Upsample_size_nearest
api: paddle.nn.functional.upsample op version: 11, 12
tests/test_nn_Upsample.py:223
↓ 1 callersFunctiontest_Upsample_size_trilinear
api: paddle.nn.functional.upsample op version: 11, 12
tests/test_nn_Upsample.py:319
↓ 1 callersFunctiontest_array_to_tensor_1
()
tests/test_array_to_tensor.py:46
↓ 1 callersFunctiontest_array_to_tensor_2
()
tests/test_array_to_tensor.py:59
↓ 1 callersFunctiontest_assign_fp32
api: paddle.assign op version: 7
tests/test_assign.py:72
↓ 1 callersFunctiontest_assign_fp64
api: paddle.assign op version: 12
tests/test_assign.py:89
↓ 1 callersFunctiontest_assign_int32
api: paddle.assign op version: 7
tests/test_assign.py:38
↓ 1 callersFunctiontest_assign_int64
api: paddle.assign op version: 7
tests/test_assign.py:55
↓ 1 callersFunctiontest_bitwise_not_int_type_18
api: paddle.bitwise_not op version: 18
tests/test_bitwise.py:91
↓ 1 callersFunctiontest_einsum_batch_matrix_multiplication
api: paddle.einsum op version: 13
tests/test_einsum.py:145
↓ 1 callersFunctiontest_einsum_dot
api: paddle.einsum op version: 13
tests/test_einsum.py:51
↓ 1 callersFunctiontest_einsum_ellipsis_batch_matrix_multiplication
api: paddle.einsum op version: 13
tests/test_einsum.py:208
↓ 1 callersFunctiontest_einsum_ellipsis_transpose
api: paddle.einsum op version: 13
tests/test_einsum.py:177
← previousnext →201–300 of 2,493, ranked by callers