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
↓ 69 callers
Method
SetAttrMap
paddle/fluid/framework/op_desc.cc:813
↓ 69 callers
Method
SetGradInMeta
paddle/fluid/eager/grad_node_info.cc:93
↓ 69 callers
Method
_add_accumulator
Utility function to add an accumulator for a parameter Args: block: the block in which the loss tensor is present nam
python/paddle/optimizer/optimizer.py:1033
↓ 69 callers
Function
classof
paddle/fluid/pir/dialect/operator/ir/op_attribute.h:50
↓ 69 callers
Method
flush
flush all trainer param to root_scope
python/paddle/base/executor.py:1688
↓ 69 callers
Method
lanes
paddle/cinn/common/type.cc:371
↓ 69 callers
Method
lock
paddle/pir/include/core/spin_lock.h:38
↓ 68 callers
Function
CreateTensorWithValue
test/cpp/eager/test_utils.h:31
↓ 68 callers
Method
GetVarName
paddle/fluid/framework/new_executor/pir_adaptor/pir_adaptor_util.cc:202
↓ 68 callers
Method
Has
paddle/fluid/framework/ir/graph.h:123
↓ 68 callers
Method
InsertRow
paddle/fluid/inference/utils/table_printer.cc:89
↓ 68 callers
Function
Match
paddle/cinn/adt/match.h:180
↓ 68 callers
Method
ShareLoD
paddle/fluid/framework/operator.cc:444
↓ 68 callers
Method
_remove_var
(self, name, sync=True)
python/paddle/base/framework.py:4690
↓ 68 callers
Method
clear
paddle/fluid/imperative/op_base.h:252
↓ 68 callers
Method
dim
paddle/fluid/distributed/collective/deep_ep/include/types.h:44
↓ 68 callers
Method
run
(self)
test/collective/fleet/hybrid_parallel_sharding_model_with_fuse_optimizer_states_enabled.py:152
↓ 67 callers
Method
IsStopGradient
paddle/fluid/eager/grad_node_info.h:129
↓ 67 callers
Method
__adt_rc_shared_ptr_raw_ptr
paddle/ap/include/adt/adt.h:68
↓ 67 callers
Method
check_output
Check whether the fetched outputs of the origin program and the optimized program are the same. For inference model, the par
test/ir/pass_test.py:65
↓ 67 callers
Function
check_partial_dims
test/cpp/auto_parallel/spmd_rule_test_util.cc:84
↓ 67 callers
Method
clear
(self)
test/sot/test_mutable_data.py:129
↓ 67 callers
Method
data
paddle/utils/span.h:377
↓ 67 callers
Method
find
(self, x)
python/paddle/distributed/transpiler/details/ufind.py:40
↓ 67 callers
Method
get_coord
(self, rank: int)
python/paddle/distributed/fleet/base/topology.py:190
↓ 67 callers
Function
isinf
paddle/phi/common/complex.h:470
↓ 67 callers
Method
reduce
paddle/phi/kernels/cpu/cum_kernel.cc:194
↓ 67 callers
Method
register_forward_post_hook
Register a forward post-hook for Layer. The hook will be called after `forward` function has been computed. It should have the foll
python/paddle/nn/layer/layers.py:844
↓ 66 callers
Method
Alloc
paddle/phi/core/device_context.cc:419
↓ 66 callers
Method
Set
paddle/fluid/framework/ir/graph.h:169
↓ 66 callers
Method
SetDataType
test/cpp/fluid/framework/var_type_inference_test.cc:110
↓ 66 callers
Method
bits
paddle/cinn/common/type.cc:370
↓ 66 callers
Method
floats
(self)
test/legacy_test/test_jit_save_load.py:1611
↓ 66 callers
Function
floor
paddle/phi/kernels/funcs/eigen/extensions.h:406
↓ 66 callers
Method
has
paddle/cinn/hlir/framework/pir/op_mapper.h:47
↓ 66 callers
Method
id
paddle/cinn/lang/lower_impl.cc:56
↓ 66 callers
Method
name
paddle/fluid/pir/drr/include/drr_pattern_base.h:69
↓ 66 callers
Method
set_place
(self)
test/legacy_test/test_tensordot.py:78
↓ 65 callers
Method
Wait
paddle/fluid/framework/pull_dense_worker.cc:108
↓ 65 callers
Method
_numel
(self)
python/paddle/optimizer/lbfgs.py:550
↓ 65 callers
Method
at
paddle/pir/src/core/builtin_attribute.cc:62
↓ 65 callers
Method
compare
paddle/phi/common/pstring.h:233
↓ 65 callers
Method
dtype
paddle/fluid/eager/eager_tensor.h:116
↓ 65 callers
Method
end
paddle/phi/core/mixed_vector.h:87
↓ 65 callers
Method
get
paddle/phi/core/platform/monitor.h:65
↓ 65 callers
Function
hash_combine
paddle/cinn/adt/adt.h:288
↓ 65 callers
Method
is_partial
paddle/phi/core/distributed/auto_parallel/dist_attr.cc:497
↓ 65 callers
Method
parse_args
(self, api_name, api_item_yaml)
paddle/phi/api/generator/api_base.py:314
↓ 65 callers
Function
swap
paddle/phi/core/allocator.h:95
↓ 64 callers
Method
AllOps
paddle/fluid/framework/block_desc.cc:174
↓ 64 callers
Method
GetSubGraph
paddle/fluid/framework/ir/graph.h:389
↓ 64 callers
Method
SetTensorDynamicRange
paddle/fluid/inference/tensorrt/engine.h:294
↓ 64 callers
Method
VectorInt32Attr
paddle/fluid/pir/drr/src/pattern_context.cc:221
↓ 64 callers
Function
default_main_program
This API can be used to get ``default main program`` which store the descriptions of Ops and tensors. For example ``z = paddle.add(x, y)
python/paddle/base/framework.py:8082
↓ 64 callers
Method
gen_data_depend_on_dtype
(self, shape)
test/xpu/test_elementwise_mul_op_xpu.py:295
↓ 64 callers
Method
insert
Insert a sublayer before a given index in the list. Parameters: index (int): index to insert. sublayer (Laye
python/paddle/nn/layer/container.py:660
↓ 64 callers
Method
ir_context
paddle/pir/src/core/type.cc:21
↓ 64 callers
Function
name
paddle/ap/include/paddle/hlir/manual_op.h:33
↓ 64 callers
Method
name
\brief Returns the name of the class for type traits. \return The name of the class.
paddle/phi/core/raw_tensor.h:49
↓ 64 callers
Method
what
paddle/fluid/platform/enforce.h:149
↓ 63 callers
Function
AmpAutoCast
paddle/fluid/eager/amp_auto_cast.h:62
↓ 63 callers
Method
Attr
paddle/fluid/pir/drr/src/pattern_context.cc:285
↓ 63 callers
Method
assert_results_with_side_effects
(self, func, *args, **kwargs)
test/sot/test_case_base.py:126
↓ 63 callers
Method
end
paddle/utils/small_vector.h:61
↓ 63 callers
Function
fill
paddle/phi/kernels/funcs/top_k_cuda_kernel.h:1870
↓ 63 callers
Method
get_model_parallel_world_size
(self)
python/paddle/distributed/fleet/base/topology.py:1450
↓ 63 callers
Method
index
paddle/utils/variant.h:2454
↓ 63 callers
Method
register_buffer
Registers a tensor as buffer into the layer. `buffer` is a non-trainable tensor and will not be updated by optimizer, but is
python/paddle/nn/layer/layers.py:1609
↓ 63 callers
Method
save_for_backward
Saves given tensors that backward need. Use ``saved_tensor`` in the `backward` to get the saved tensors. Note: This API
python/paddle/autograd/py_layer.py:135
↓ 63 callers
Method
saved_tensor
Get the tensors stored by ``save_for_backward``. Returns: list of Tensors or None: If context contains tensors stored by
python/paddle/autograd/py_layer.py:173
↓ 62 callers
Method
EnableUseGpu
paddle/fluid/inference/api/analysis_config.cc:143
↓ 62 callers
Method
GEMM
paddle/phi/kernels/funcs/blas/blas_impl.h:1583
↓ 62 callers
Method
Get
paddle/fluid/framework/new_executor/interpreter/stream_analyzer.h:41
↓ 62 callers
Function
InputsContainDistTensor
paddle/fluid/eager/utils.h:369
↓ 62 callers
Function
PDNodeName
Generate a unique PDNode's name with name_scope and id. The format is {name_scope}/{repr}/{id}/{name}
paddle/fluid/framework/ir/graph_pattern_detector.h:442
↓ 62 callers
Method
SetGradNode
paddle/fluid/eager/grad_node_info.cc:1021
↓ 62 callers
Function
Shape
paddle/fluid/inference/tensorrt/convert/op_converter.h:501
↓ 62 callers
Method
_barrier_worker
barrier all workers in current distributed job
python/paddle/incubate/distributed/fleet/role_maker.py:881
↓ 62 callers
Method
_is_dtype_fp16_or_bf16
check the dtype is fp16 or the dtype is bf16 :param dtype: instance of core.VarDesc.VarType :return: True if dtype is one of
python/paddle/optimizer/optimizer.py:2195
↓ 62 callers
Method
assert_is_ops_output
paddle/fluid/framework/ir/graph_pattern_detector.cc:638
↓ 62 callers
Method
clone
Create a new and duplicated IrGraph. Warns: The method only clones the graph structure, not its attributes. Ret
python/paddle/base/framework.py:5605
↓ 62 callers
Function
contain_unknown_dim
paddle/common/ddim.cc:132
↓ 62 callers
Method
entropy
(self)
test/distribution/mock_data.py:33
↓ 62 callers
Method
front
paddle/phi/api/include/compat/c10/core/List.h:62
↓ 62 callers
Function
global_scope
:api_attr: Static Graph Get the global/default scope instance. There are a lot of APIs use :code:`global_scope` as its default value, e.
python/paddle/base/executor.py:76
↓ 62 callers
Method
main_program
(self)
python/paddle/base/layer_helper_base.py:59
↓ 62 callers
Method
ptr
paddle/phi/core/memory/allocation/stream_safe_cuda_allocator.h:48
↓ 62 callers
Method
register_forward_pre_hook
Register a forward pre-hook for Layer. The hook will be called before `forward` function has been computed. It should have the foll
python/paddle/nn/layer/layers.py:933
↓ 61 callers
Method
GetAllBlocks
paddle/cinn/ir/schedule/impl/base.cc:161
↓ 61 callers
Function
GetDefiningOpForInput
paddle/fluid/pir/utils/general_functions.cc:221
↓ 61 callers
Method
GetParent
paddle/pir/include/core/block.h:44
↓ 61 callers
Method
emplace_back
paddle/phi/api/include/compat/c10/core/List.h:70
↓ 61 callers
Method
eval
paddle/fluid/pybind/sot/guards.cc:282
↓ 61 callers
Function
format_time
r""" Transform time in ns to time in unit.
python/paddle/profiler/profiler_statistic.py:911
↓ 61 callers
Method
get
paddle/fluid/platform/device/ipu/ipu_strategy.h:182
↓ 61 callers
Method
is_shard
paddle/phi/core/distributed/auto_parallel/dist_attr.cc:483
↓ 61 callers
Method
items
(self)
python/paddle/jit/sot/opcode_translator/executor/variables/container.py:1033
↓ 61 callers
Method
node
(self, label, prefix, description="", **attrs)
python/paddle/distributed/fleet/base/graphviz.py:72
↓ 61 callers
Function
recompute_reduce_all
paddle/phi/core/kernel_utils.h:408
↓ 61 callers
Method
wrap_literal
Wrap a literal value in a ConstantVariable. Args: value(Any): The literal value to be wrapped. Returns:
python/paddle/jit/sot/opcode_translator/executor/variables/basic.py:285
← previous
next →
901–1,000 of 118,755, ranked by callers