Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/Paddle
/ functions
Functions
118,755 in github.com/PaddlePaddle/Paddle
⨍
Functions
118,755
◇
Types & classes
32,748
↳
Endpoints
291
↓ 904 callers
Method
check_output
( self, atol=1e-5, rtol=1e-5, no_check_set=None, equal_nan=False,
test/legacy_test/op_test.py:3082
↓ 877 callers
Method
set_device
paddle/cinn/runtime/hip/hip_backend_api.cc:28
↓ 876 callers
Method
dims
paddle/fluid/pir/dialect/operator/ir/ir_meta_tensor.cc:33
↓ 862 callers
Method
check_grad
( self, inputs_to_check, output_names, no_grad_set=None, numeric_grad_
test/legacy_test/op_test.py:3279
↓ 862 callers
Method
place
paddle/fluid/inference/api/details/zero_copy_tensor.cc:192
↓ 862 callers
Method
split
paddle/phi/api/include/compat/ATen/ops/split.h:72
↓ 850 callers
Method
keys
Return the iterable of the keys in LayerDict. Parameters: None. Examples: .. code-block:: pycon
python/paddle/nn/layer/container.py:179
↓ 829 callers
Method
type
paddle/fluid/framework/op_version_registry.h:123
↓ 822 callers
Method
assert_results
(self, func, *args, **kwargs)
test/sot/test_case_base.py:76
↓ 819 callers
Method
attr
Get the attribute by name. Args: name(str): the attribute name. Returns: int|str|list, The attribut
python/paddle/base/framework.py:3121
↓ 818 callers
Method
Var
paddle/fluid/framework/ir/node.h:81
↓ 806 callers
Method
var
Get a Variable by name from this block. Args: name(str): the Variable's name. Raises: ValueError: T
python/paddle/base/framework.py:4505
↓ 799 callers
Function
max
paddle/cinn/common/ir_util.cc:465
↓ 797 callers
Method
device
paddle/phi/api/include/compat/c10/core/Event.h:63
↓ 792 callers
Method
Shard
paddle/phi/core/distributed/auto_parallel/placement_types.h:72
↓ 788 callers
Method
SetOutput
paddle/fluid/framework/op_desc.cc:618
↓ 781 callers
Method
create_variable_for_type_inference
Create a temporary variable that should be type inferred layer. Note: The default type will be set to DENSE_TENSOR. However, when
python/paddle/base/layer_helper_base.py:480
↓ 755 callers
Method
begin
paddle/phi/kernels/funcs/dense_tensor_iterator.cc:616
↓ 741 callers
Function
to_string
paddle/fluid/inference/api/helper.h:214
↓ 730 callers
Method
AddInput
paddle/fluid/framework/details/op_handle_base.cc:201
↓ 720 callers
Method
FindVar
paddle/fluid/framework/scope.cc:76
↓ 719 callers
Method
assert_equal
(x, y)
test/legacy_test/test_layer_norm_op.py:746
↓ 716 callers
Method
has_value
paddle/utils/flat_hash_map.h:130
↓ 714 callers
Method
front
paddle/utils/span.h:367
↓ 706 callers
Method
cast
paddle/phi/api/lib/tensor_method.cc:56
↓ 706 callers
Function
get
paddle/fluid/pir/dialect/operator/ir/op_type.h:57
↓ 704 callers
Method
empty
if the arguments is empty
paddle/cinn/lang/packed_func.h:51
↓ 701 callers
Method
end
paddle/cinn/runtime/cinn_runtime.h:306
↓ 684 callers
Method
str
paddle/phi/api/include/compat/c10/core/Device.cpp:148
↓ 678 callers
Method
shape
paddle/fluid/pir/dialect/operator/ir/manual_onednn_op.h:78
↓ 676 callers
Method
create_inference_config
( self, passes: list[str] | None = None, use_gpu: bool = False, use_onednn: bo
test/ir/inference/auto_scan_test.py:250
↓ 675 callers
Function
arg
paddle/phi/common/complex.h:500
↓ 667 callers
Method
GetType
paddle/fluid/framework/var_desc.cc:52
↓ 661 callers
Method
name
Returns metric name
python/paddle/metric/metrics.py:811
↓ 660 callers
Method
to_static
(self, model, input_spec)
test/openvino/openvino_test_base.py:51
↓ 646 callers
Method
GetAttr
paddle/fluid/framework/ir/fusion_group/code_generator_helper.h:70
↓ 646 callers
Method
erase
paddle/pir/src/core/block.cc:59
↓ 636 callers
Function
Flatten
paddle/phi/kernels/flatten_kernel.h:46
↓ 630 callers
Function
GradVarName
paddle/fluid/framework/operator.h:113
↓ 628 callers
Method
abs
paddle/phi/api/include/compat/ATen/ops/abs.h:42
↓ 623 callers
Method
flatten
inputs may be single tensor、tuple
test/auto_parallel/semi_auto_parallel_util.py:41
↓ 607 callers
Method
input
r""" Get the input arguments according to the input parameter name. Args: name(str): The input parameter name.
python/paddle/base/framework.py:3732
↓ 601 callers
Method
XPUPlace
paddle/phi/common/place.h:160
↓ 594 callers
Method
SetShapeOrDataForValue
paddle/pir/src/dialect/shape/utils/shape_analysis.cc:212
↓ 589 callers
Method
info
(self, msg, *args, **kwargs)
python/paddle/distributed/fleet/utils/log_util.py:83
↓ 581 callers
Method
end
paddle/phi/kernels/funcs/dense_tensor_iterator.cc:620
↓ 577 callers
Method
assign
Assigns from another optional<T> (deep-copies the rhs value)
paddle/utils/optional.h:244
↓ 576 callers
Function
min
paddle/cinn/common/ir_util.cc:473
↓ 573 callers
Method
numel
paddle/fluid/framework/infershape_utils.cc:176
↓ 571 callers
Method
append_op
(self, *args: Any, **kwargs: Any)
python/paddle/base/layer_helper.py:56
↓ 569 callers
Function
to_string
paddle/utils/string/to_string.h:31
↓ 557 callers
Method
begin
paddle/cinn/runtime/cinn_runtime.h:305
↓ 549 callers
Method
AsIntermediate
Mark this node will be removed, so all the links should be inside a matched sub-graph.
paddle/fluid/framework/ir/graph_pattern_detector.h:101
↓ 549 callers
Method
Input
paddle/fluid/imperative/dygraph_grad_maker.h:73
↓ 549 callers
Method
add
(self, x)
test/sot/test_call_object.py:33
↓ 549 callers
Method
resize
paddle/phi/common/pstring.h:295
↓ 542 callers
Function
check_variable_and_dtype
( input, input_name, expected_dtype, op_name, extra_message='' )
python/paddle/base/data_feeder.py:200
↓ 535 callers
Method
dims
paddle/fluid/framework/infershape_utils.cc:217
↓ 529 callers
Method
empty
queries
paddle/utils/any.h:64
↓ 521 callers
Method
back
paddle/utils/span.h:372
↓ 521 callers
Method
get_rank
(self)
python/paddle/distributed/utils/launch_utils.py:227
↓ 520 callers
Method
GetAttr
paddle/fluid/imperative/infer_var_type_context.h:47
↓ 516 callers
Method
max
The maximum possible value of random state
paddle/cinn/utils/random_engine.h:44
↓ 514 callers
Method
AsInput
Mark this node is an Input of a subgraph and will be retained.
paddle/fluid/framework/ir/graph_pattern_detector.h:90
↓ 512 callers
Method
place
paddle/phi/core/cuda_stream.h:76
↓ 506 callers
Function
get_places
()
test/legacy_test/op_test.py:399
↓ 502 callers
Method
get_ptr
Returns a pointer to the value if this is initialized, otherwise, returns NULL. No-throw
paddle/utils/optional.h:301
↓ 500 callers
Method
AddOutput
paddle/fluid/framework/details/op_handle_base.cc:207
↓ 497 callers
Method
SetDataType
paddle/fluid/framework/var_desc.cc:127
↓ 491 callers
Method
Input
paddle/fluid/framework/op_desc.cc:544
↓ 488 callers
Method
size
paddle/ap/include/graph/node_list.h:92
↓ 482 callers
Method
Type
paddle/fluid/framework/details/exception_holder.h:84
↓ 482 callers
Method
item
paddle/phi/api/include/compat/ATen/ops/item.h:24
↓ 480 callers
Method
size
paddle/cinn/ir/lowered_func.h:134
↓ 478 callers
Method
ProcessMesh
paddle/phi/core/distributed/auto_parallel/process_mesh.cc:31
↓ 475 callers
Method
numel
(shape)
test/legacy_test/op_test.py:755
↓ 471 callers
Method
shard_tensor
(input_tensor, seq_dim)
python/paddle/distributed/auto_parallel/intermediate/context_parallel.py:122
↓ 468 callers
Method
at
paddle/ap/include/axpr/abstract_list.h:70
↓ 467 callers
Method
format
paddle/fluid/pybind/tensor_py.h:153
↓ 465 callers
Method
write
paddle/cinn/backends/compiler.cc:235
↓ 464 callers
Method
dtype
paddle/fluid/framework/infershape_utils.cc:245
↓ 463 callers
Method
CUDAPlace
paddle/phi/core/mixed_vector.h:190
↓ 463 callers
Function
Copy
paddle/phi/kernels/strings/cpu/strings_copy_kernel.cc:24
↓ 461 callers
Method
deepcopy
paddle/phi/core/distributed/auto_parallel/placement_types.h:128
↓ 461 callers
Method
stream
paddle/phi/api/lib/tensor.cc:393
↓ 461 callers
Method
values
Return the iterable of the values in LayerDict. Parameters: None. Examples: .. code-block:: pycon
python/paddle/nn/layer/container.py:237
↓ 459 callers
Function
Sprintf
paddle/utils/string/printf.h:91
↓ 458 callers
Function
check_dim_mapping
test/cpp/auto_parallel/spmd_rule_test_util.cc:56
↓ 454 callers
Method
concat
abc
test/legacy_test/test_paddlescience.py:41
↓ 452 callers
Method
get
test/cpp_extension/custom_power.h:24
↓ 450 callers
Method
value
paddle/fluid/primitive/base/lazy_tensor.h:44
↓ 439 callers
Function
get
paddle/utils/optional.h:623
↓ 439 callers
Method
insert
paddle/pir/src/core/block.cc:53
↓ 437 callers
Method
Tensor
paddle/cinn/ir/tensor.cc:490
↓ 437 callers
Method
check_trt_result
(self, rtol=1e-5, atol=1e-5, precision_mode="fp32")
test/tensorrt/tensorrt_test_base.py:172
↓ 437 callers
Function
in_dynamic_or_pir_mode
This API checks whether paddle runs in dynamic graph or pir mode. Returns: bool: Whether paddle runs in static graph mode and use p
python/paddle/base/framework.py:397
↓ 437 callers
Method
shape
paddle/phi/api/lib/tensor.cc:92
↓ 426 callers
Method
Name
paddle/ap/include/axpr/type.h:45
↓ 425 callers
Function
CopyTensorDistAttrForOutput
paddle/phi/infermeta/spmd_rules/utils.cc:603
↓ 422 callers
Method
log
Log a group of timers.
python/paddle/distributed/fleet/utils/timer_helper.py:125
← previous
next →
101–200 of 118,755, ranked by callers