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
↓ 83 callers
Method
size
paddle/phi/core/memory/allocation/inlined_vector.h:32
↓ 83 callers
Method
to<float>
paddle/phi/capi/include/wrapper_base.h:392
↓ 83 callers
Method
to_string
paddle/phi/infermeta/spmd_rules/dim_trans.cc:33
↓ 83 callers
Method
type
paddle/cinn/operator_fusion/pattern_node.h:72
↓ 82 callers
Method
check
(self, actual_t, expect_t, place, out_name, atol=1e-5)
test/xpu/test_rmsprop_op_xpu.py:247
↓ 82 callers
Method
clear_gradient
**Notes**: **1. This API is ONLY available in Dygraph mode** **2. Use it only Variable has gradient, normally we use
python/paddle/base/framework.py:2074
↓ 82 callers
Function
float16
paddle/cinn/runtime/cuda/float16.h:86
↓ 82 callers
Function
get_devices
()
test/legacy_test/op_test.py:415
↓ 82 callers
Method
pop
paddle/phi/core/tensor_array.cc:121
↓ 82 callers
Method
push_back
paddle/phi/core/vocab/phi_tensor_base_vector.h:73
↓ 82 callers
Function
round
(x)
python/paddle/nn/quant/lsq.py:26
↓ 82 callers
Method
set_training
(self)
test/ipu/test_warpctc_op_ipu.py:32
↓ 81 callers
Method
LayerNorm
paddle/fluid/framework/ir/graph_pattern_detector.h:2149
↓ 81 callers
Method
_find_var_recursive
Get a Variable by name from this block recursively. Args: name(str): the Variable's name. Returns:
python/paddle/base/framework.py:4528
↓ 81 callers
Method
clone
(self)
python/paddle/distributed/auto_parallel/static/helper.py:187
↓ 81 callers
Method
create_parameter
Create parameters for this layer. Parameters: shape(list): Shape of the parameter. The data type in the list must be int.
python/paddle/nn/layer/layers.py:1012
↓ 81 callers
Method
index
paddle/fluid/operators/controlflow/op_variant.h:63
↓ 81 callers
Method
run_test_case
(self)
test/auto_parallel/reshard_s_to_p.py:72
↓ 81 callers
Method
set_input_dims_mapping
paddle/fluid/distributed/auto_parallel/dist_attr.cc:203
↓ 80 callers
Method
GetBlock
paddle/cinn/ir/schedule/impl/base.cc:187
↓ 80 callers
Method
begin
paddle/pir/include/core/iterator.h:285
↓ 80 callers
Method
eval
(self, use_cinn)
test/ir/pir/cinn/symbolic/test_while_st.py:65
↓ 80 callers
Method
finfo
paddle/fluid/pybind/pybind.cc:552
↓ 80 callers
Method
scale
Multiplies a Tensor by the scale factor and returns scaled outputs. If this instance of :class:`GradScaler` is not enabled, output ar
python/paddle/amp/grad_scaler.py:784
↓ 79 callers
Function
CreateConst
paddle/fluid/platform/device/ipu/popart_canonicalization/op_builder.h:51
↓ 79 callers
Function
InputDirectConvCudaParam
paddle/cinn/hlir/pe/schedule.cc:421
↓ 79 callers
Method
Size
paddle/fluid/framework/heter_util.h:132
↓ 79 callers
Method
assert_is_ops
paddle/fluid/framework/ir/graph_pattern_detector.cc:599
↓ 79 callers
Method
eval
(self, use_cinn)
test/ir/pir/cinn/test_softmax.py:43
↓ 79 callers
Function
product
(dim)
test/legacy_test/op_test.py:162
↓ 79 callers
Function
set_constant
paddle/phi/kernels/funcs/math_function.cc:277
↓ 79 callers
Method
set_rows
paddle/phi/core/selected_rows.h:62
↓ 79 callers
Method
step
(self)
test/collective/fleet/test_imperative_auto_mixed_precision_for_eager.py:271
↓ 79 callers
Method
type
paddle/fluid/framework/ir/onednn/conv_bias_onednn_fuse_pass.h:34
↓ 78 callers
Function
end
paddle/pir/include/core/region.h:49
↓ 78 callers
Function
interpolate
( input: Tensor, size: ShapeLike | None = None, scale_factor: ShapeLike | float | None = None,
python/paddle/nn/functional/common.py:234
↓ 78 callers
Method
is_cpu
paddle/phi/api/lib/tensor.cc:170
↓ 78 callers
Method
source
paddle/pir/src/core/op_operand.cc:46
↓ 77 callers
Method
AddImpl
paddle/cinn/hlir/framework/op_strategy.cc:88
↓ 77 callers
Method
dims
paddle/phi/core/distributed/auto_parallel/dist_meta_tensor.cc:21
↓ 77 callers
Function
program_guard
:api_attr: Static Graph Change the global main program and startup program with ``with`` statement. Layer functions in the Python ``with
python/paddle/pir/core.py:262
↓ 76 callers
Function
Create
paddle/fluid/inference/tensorrt/engine.h:655
↓ 76 callers
Method
layer_norm
paddle/fluid/framework/ir/pass_tester_helper.h:354
↓ 76 callers
Function
name
paddle/cinn/hlir/dialect/operator/ir/manual_op.h:39
↓ 76 callers
Method
shape
Indicating shape of current Variable **Notes: This is a read-only property** Examples: .. code-block:: pycon
python/paddle/base/framework.py:2445
↓ 76 callers
Method
storage
\brief Access to the storage instance.
paddle/pir/include/core/storage_manager_support.h:79
↓ 76 callers
Function
swap
paddle/utils/variant.h:2749
↓ 76 callers
Method
use_count
paddle/pir/src/core/value.cc:79
↓ 75 callers
Method
all_attrs
Get the attribute dict. Returns: dict: The Operator's attribute dict, name->attr.
python/paddle/base/framework.py:4027
↓ 75 callers
Method
is_string
paddle/cinn/common/type.cc:379
↓ 75 callers
Method
search
(outputs, path, result)
python/paddle/jit/sot/symbolic/export.py:318
↓ 75 callers
Method
set_partial_status
paddle/phi/core/distributed/auto_parallel/dist_attr.cc:133
↓ 75 callers
Method
size
paddle/cinn/backends/nvrtc/header_generator.cc:32
↓ 75 callers
Method
step
Execute the optimizer and update parameters once. Returns: None Examples: .. code-block:: pycon
python/paddle/optimizer/adamw.py:639
↓ 75 callers
Function
test_instruction_translator_cache_context
()
test/sot/test_case_base.py:32
↓ 74 callers
Method
EraseOp
paddle/pir/src/pattern_rewrite/pattern_match.cc:137
↓ 74 callers
Method
Set
paddle/phi/backends/device_code.cc:34
↓ 74 callers
Function
begin
paddle/pir/include/core/region.h:48
↓ 74 callers
Method
dist_attr
(self)
python/paddle/distributed/auto_parallel/static/dist_op.py:49
↓ 74 callers
Method
mean
Mean of beta distribution.
python/paddle/distribution/beta.py:116
↓ 74 callers
Method
mutable_data
paddle/fluid/inference/api/details/zero_copy_tensor.cc:93
↓ 74 callers
Method
name
paddle/pir/src/core/op_info.cc:34
↓ 74 callers
Method
push
Pushes a variable onto the stack. Args: val: The variable to be pushed.
python/paddle/jit/sot/opcode_translator/executor/variable_stack.py:134
↓ 74 callers
Method
update
Update the auc curve with the given predictions and labels. Args: preds (numpy.array): An numpy array in the shape of
python/paddle/metric/metrics.py:738
↓ 73 callers
Method
Match
paddle/ap/src/paddle/pass/ap_generic_drr_pass.cc:1857
↓ 73 callers
Method
RenameInput
paddle/fluid/framework/op_desc.cc:929
↓ 73 callers
Function
flatten_to_2d
paddle/common/ddim.cc:210
↓ 73 callers
Method
name
paddle/fluid/pir/transforms/sub_graph_detector.cc:249
↓ 73 callers
Method
place
paddle/fluid/distributed/collective/deep_ep/include/types.h:42
↓ 73 callers
Method
reset
paddle/fluid/framework/data_feed.cc:3189
↓ 73 callers
Method
what
test/cpp/fluid/framework/operator_exception_test.cc:50
↓ 72 callers
Function
DebugString
paddle/fluid/imperative/layer.cc:82
↓ 72 callers
Method
IsInitialized
Currently we use grad_node_ to identify if a edge is initialized.
paddle/fluid/eager/grad_node_info.h:97
↓ 72 callers
Function
Place
paddle/phi/common/place.h:68
↓ 72 callers
Method
dtype
paddle/phi/core/distributed/auto_parallel/dist_tensor.cc:301
↓ 72 callers
Function
find_files
(pattern, root, recursive=False)
setup.py:904
↓ 72 callers
Method
gelu
(self, x)
test/legacy_test/test_float8.py:170
↓ 72 callers
Function
is_dim_shard
(mapping)
python/paddle/distributed/auto_parallel/static/utils.py:94
↓ 72 callers
Method
set_atol
(self)
test/ipu/test_conv_op_ipu.py:31
↓ 72 callers
Method
set_lod
(self)
test/legacy_test/test_lstm_op.py:134
↓ 71 callers
Function
GetCurrentDeviceId
paddle/phi/backends/gpu/rocm/rocm_info.cc:175
↓ 71 callers
Method
Place
paddle/phi/common/place.cc:61
↓ 71 callers
Method
__init__
(self, op=None, op_desc=None, cluster=None, rank=None)
python/paddle/distributed/auto_parallel/static/cost/comp_op_cost.py:318
↓ 71 callers
Method
compare_with_dense
(self, dense_func, sparse_func, dtype='float32')
test/legacy_test/test_sparse_unary_op.py:119
↓ 71 callers
Method
compare_with_dense
(self, dense_func, sparse_func, dtype='float32')
test/legacy_test/test_sparse_unary_op.py:423
↓ 71 callers
Function
enable_to_static_guard
(flag: bool)
test/dygraph_to_static/dygraph_to_static_utils.py:425
↓ 71 callers
Method
engine
paddle/fluid/platform/tensorrt/engine.h:175
↓ 71 callers
Method
ndim
paddle/phi/kernels/funcs/dense_tensor_iterator.h:73
↓ 71 callers
Method
numel
paddle/cinn/ir/buffer.cc:140
↓ 71 callers
Method
offset
paddle/fluid/pir/dialect/operator/ir/ir_tensor.h:72
↓ 70 callers
Method
Get
paddle/ap/include/graph/node_arena.h:152
↓ 70 callers
Function
Name
paddle/fluid/framework/var_desc.h:95
↓ 70 callers
Function
Type
paddle/fluid/framework/op_desc.h:65
↓ 70 callers
Function
dist
(x, y, p)
test/legacy_test/test_dist_op.py:27
↓ 70 callers
Method
is_float
Note: when calling is_float(16), 'st' can't be specific_type_t::None to distinguish FP16/BF16, or use is_float16()/is_bfloat16() for short
paddle/cinn/common/type.cc:306
↓ 70 callers
Method
set_attr
(self, key, value)
python/paddle/distributed/passes/pass_base.py:68
↓ 70 callers
Method
set_type
Change the operator type into new type. Args: new_type(str): new operator type to be set.
python/paddle/base/framework.py:5495
↓ 70 callers
Method
type
paddle/pir/src/core/value.cc:50
↓ 70 callers
Method
while_loop
paddle/fluid/framework/ir/pass_tester_helper.h:563
↓ 70 callers
Function
zeros
( shape: ShapeLike, dtype: DTypeLike | None = None, name: str | None = None, *, out: paddl
python/paddle/tensor/creation.py:1780
← previous
next →
801–900 of 118,755, ranked by callers