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
↓ 35 callers
Method
find_operator
paddle/phi/api/include/compat/torch/library.cpp:263
↓ 35 callers
Function
get_logger
Get logger from logging with given name, level and format without setting logging basicConfig. For setting basicConfig in paddle will dis
python/paddle/base/log_helper.py:20
↓ 35 callers
Function
register_distributed_operator_impl
(op_type, dist_impl)
python/paddle/distributed/auto_parallel/static/operators/common.py:227
↓ 35 callers
Method
remove_op
(self, op_idx, reserved_vars=None)
python/paddle/distributed/fleet/meta_optimizers/sharding/prune.py:128
↓ 35 callers
Method
reset
paddle/phi/api/lib/tensor.cc:437
↓ 35 callers
Method
resize
paddle/phi/core/vocab/phi_tensor_base_vector.h:65
↓ 35 callers
Function
set_var_dist_attr
(dist_context, var, dims_mapping, process_mesh, **kwargs)
python/paddle/distributed/auto_parallel/static/utils.py:1376
↓ 35 callers
Method
shrink_to_fit
paddle/utils/flat_hash_map.h:623
↓ 35 callers
Function
strlen
paddle/phi/common/pstring.h:472
↓ 35 callers
Method
to_str
paddle/common/ddim.cc:108
↓ 35 callers
Method
valid
Returns whether access is valid or not
paddle/phi/kernels/fusion/cutlass/memory_efficient_attention/iterators/predicated_tile_access_iterator_residual_last.h:1962
↓ 34 callers
Function
CinnTypeToLLVMType
paddle/cinn/backends/llvm/llvm_util.cc:30
↓ 34 callers
Method
GetFp32TrtWeight
Note: Only for support plugin.
paddle/fluid/inference/tensorrt/engine.cc:736
↓ 34 callers
Method
GetVar
paddle/fluid/framework/scope.cc:85
↓ 34 callers
Method
Graph
paddle/fluid/framework/ir/graph.cc:31
↓ 34 callers
Method
ID
paddle/fluid/framework/details/op_registry.h:137
↓ 34 callers
Method
OutputNames
paddle/fluid/framework/op_desc.cc:570
↓ 34 callers
Function
Reshape
paddle/phi/kernels/reshape_kernel.h:46
↓ 34 callers
Function
SameShapeInfer
paddle/fluid/pir/dialect/operator/interface/infer_symbolic_shape/backward_infer_sym.cc:20
↓ 34 callers
Method
TensorCoreCublasCallIfAvailable
paddle/phi/backends/gpu/gpu_context.cc:1026
↓ 34 callers
Method
_generate_role
generate role for role maker
python/paddle/distributed/fleet/base/role_maker.py:1200
↓ 34 callers
Method
_get_virtual_pp_rank
(self, micro_step, forward)
python/paddle/distributed/fleet/meta_parallel/pipeline_parallel.py:2127
↓ 34 callers
Method
add
use the default_program as key, append param the parameter list.
python/paddle/jit/dy2static/program_translator.py:1473
↓ 34 callers
Method
assert_op_count_equal
(self, program, op_count_map)
test/ir/pir/test_cse_pass.py:57
↓ 34 callers
Method
begin
paddle/phi/api/include/compat/c10/core/List.h:75
↓ 34 callers
Method
check_output_customized
( self, checker, custom_place=None, check_pir=False )
test/legacy_test/op_test.py:3142
↓ 34 callers
Method
data
paddle/cinn/runtime/cuda/test_util.h:47
↓ 34 callers
Function
empty_like
Returns a Tensor with uninitialized data which has identical shape of ``x`` and ``dtype``. If the ``dtype`` is None, the data type of Tensor
python/paddle/tensor/creation.py:3329
↓ 34 callers
Function
end
paddle/fluid/framework/channel.h:499
↓ 34 callers
Method
eval
(self)
test/auto_parallel/hybrid_strategy/single_lora_model.py:415
↓ 34 callers
Method
forward
(self, x)
test/distributed_passes/test_dist_fuse_resunit_pass.py:203
↓ 34 callers
Method
get_cur_paddle_data_layout
paddle/phi/backends/onednn/onednn_context.cc:73
↓ 34 callers
Function
get_shape_tensor_element
(network, x, index, is_scalar=False, name=None)
python/paddle/tensorrt/converter_utils.py:364
↓ 34 callers
Function
isfinite
paddle/phi/common/complex.h:480
↓ 34 callers
Method
load
paddle/phi/kernels/fusion/cutlass/memory_efficient_attention/gemm/mma_from_smem.h:303
↓ 34 callers
Method
loop_axis_mapping
paddle/cinn/operator_fusion/pattern.h:60
↓ 34 callers
Method
name
Return the node name. Returns: str: node name.
python/paddle/base/framework.py:5161
↓ 34 callers
Method
pass_builder
paddle/fluid/inference/api/analysis_config.cc:61
↓ 34 callers
Method
pin_memory
paddle/phi/api/include/compat/ATen/core/TensorBody.h:450
↓ 34 callers
Method
to_test_op
Test the operator.
test/cinn/test_utils.py:55
↓ 33 callers
Method
AddDynamicPlugin
paddle/fluid/inference/tensorrt/engine.h:515
↓ 33 callers
Method
AddInput
test/cpp/fluid/framework/ir/onednn/params_quantization_onednn_pass_test.cc:88
↓ 33 callers
Method
CompiledProgram
paddle/fluid/framework/compiled_program.cc:472
↓ 33 callers
Function
ConvertToDistTensor
paddle/fluid/eager/utils.cc:1304
↓ 33 callers
Method
DeviceContext
paddle/fluid/framework/details/op_handle_base.h:91
↓ 33 callers
Method
GetInputHandle
paddle/fluid/inference/api/analysis_predictor.cc:3657
↓ 33 callers
Method
GetParentProgram
paddle/cinn/hlir/framework/pir/op_lowering_group.cc:22
↓ 33 callers
Function
PdOpLowerToKernelPass
paddle/fluid/pir/transforms/pd_op_to_kernel_pass.cc:3831
↓ 33 callers
Method
Run
paddle/fluid/imperative/layer.cc:537
↓ 33 callers
Method
SetITensor
paddle/fluid/inference/tensorrt/engine.cc:538
↓ 33 callers
Function
actual
(primal, cotangent, axis, keep_dim)
test/prim/prim/vjp/eager/test_comp_eager_sum_grad.py:23
↓ 33 callers
Method
add_parameter
Adds a Parameter instance. Added parameter can be accessed by self.name Parameters: name(str): name of this sublayer.
python/paddle/nn/layer/layers.py:2092
↓ 33 callers
Method
create_trt_inference_config
(self)
test/ir/inference/auto_scan_test.py:639
↓ 33 callers
Method
element_size
Returns the size in bytes of an element in the Tensor. Examples: .. code-block:: pycon >>> import paddl
python/paddle/base/framework.py:2268
↓ 33 callers
Method
feed
According to :code:`feed_list` of :code:`DataFeeder` and :code:`iterable` , converts the input into a data structure that can feed in
python/paddle/base/data_feeder.py:501
↓ 33 callers
Method
first_use
paddle/pir/src/core/value.cc:68
↓ 33 callers
Function
full
paddle/fluid/pir/dialect/operator/ir/manual_api.cc:59
↓ 33 callers
Method
get
(self, names)
python/paddle/jit/dy2static/utils.py:826
↓ 33 callers
Method
nodes
paddle/cinn/common/graph_utils.cc:62
↓ 33 callers
Method
numel
paddle/phi/core/meta_tensor.cc:36
↓ 33 callers
Method
parse
(self)
python/paddle/jit/dy2static/transformers/base.py:236
↓ 33 callers
Method
recv
(self)
python/paddle/distributed/communicator.py:195
↓ 33 callers
Method
reserve
reserve data
paddle/phi/core/mixed_vector.h:186
↓ 33 callers
Function
safe_load_pickle
Safely load a pickle file using RestrictedUnpickler. Args: f: A file-like object (opened in binary mode) to read from. encoding:
python/paddle/framework/restricted_unpickler.py:208
↓ 33 callers
Method
scale
Multiplies a Tensor by the scale factor and returns scaled outputs. If this instance of :class:`AmpScaler` is not enabled, output are
python/paddle/amp/grad_scaler.py:191
↓ 33 callers
Function
scaled_dot_product_attention
r""" The equation is: .. math:: result=softmax(\frac{ Q * K^T }{\sqrt{d}}) * V where : ``Q``, ``K``, and ``V`` represent the th
python/paddle/nn/functional/sdpa.py:428
↓ 33 callers
Method
top
(self)
python/paddle/jit/sot/opcode_translator/executor/variable_stack.py:196
↓ 33 callers
Method
update
paddle/phi/kernels/funcs/lamb_functors.h:247
↓ 32 callers
Function
AreScalesPresentForNodes
paddle/fluid/framework/ir/quantize_helper.cc:51
↓ 32 callers
Function
CheckXPUStatusFailure
test/xpu/cpp/enforce_xpu_test.cc:27
↓ 32 callers
Function
FindNodeWithName
paddle/fluid/framework/ir/xpu/pass_utils.cc:66
↓ 32 callers
Method
GetInputTensor
paddle/fluid/inference/api/analysis_predictor.cc:2611
↓ 32 callers
Function
GetKernelInputArgDef
paddle/phi/api/lib/data_transform.h:76
↓ 32 callers
Method
GetZeroAllocator
paddle/phi/common/memory_utils.h:363
↓ 32 callers
Method
HasInputs
paddle/fluid/framework/op_desc.cc:1275
↓ 32 callers
Function
ToString
paddle/ap/include/axpr/to_string.h:26
↓ 32 callers
Function
Trans2Contiguous
paddle/phi/api/lib/data_transform.cc:272
↓ 32 callers
Function
_is_pil_image
(img: _ImageDataType)
python/paddle/vision/transforms/functional.py:60
↓ 32 callers
Method
_optimized_guard
A with guard to set :code:`Optimization` :code:`OpRole` and :code:`OpRoleVar` automatically. Notes: This is a very low level
python/paddle/base/framework.py:6342
↓ 32 callers
Method
_rename_output
Rename the `old_name` to `new_name`. Args: old_name(str): The old name of the Operator's output. new_name(st
python/paddle/base/framework.py:3760
↓ 32 callers
Method
add_skip_case
( self, teller: list[Callable[[ProgramConfig, paddle_infer.Config], bool]], reason: Ig
test/ir/inference/auto_scan_test.py:1127
↓ 32 callers
Method
add_tile_offset
paddle/phi/kernels/fusion/cutlass/cutlass_extensions/epilogue/threadblock/epilogue_tensor_op_int32.h:246
↓ 32 callers
Method
backward
(ctx, dy1, dy2)
test/legacy_test/test_pylayer_op.py:35
↓ 32 callers
Method
begin
paddle/fluid/ir_adaptor/translator/program_translator.h:70
↓ 32 callers
Method
bind
(self, instance: VariableBase, name: str, class_var=None)
python/paddle/jit/sot/opcode_translator/executor/variables/callable.py:228
↓ 32 callers
Function
compute
(x, y)
test/sot/test_sir_rollback.py:37
↓ 32 callers
Method
dim_size
paddle/fluid/pir/dialect/distributed/ir/dist_attribute.h:47
↓ 32 callers
Function
dtype
\brief Returns the data type of the tensor. \return The data type of the tensor.
paddle/phi/core/dense_tensor.h:142
↓ 32 callers
Function
format_string
paddle/utils/string/string_helper.h:77
↓ 32 callers
Method
get_device_type
(self)
python/paddle/jit/sot/opcode_translator/executor/variables/basic.py:2004
↓ 32 callers
Method
get_py_value
(self, allow_tensor=False)
python/paddle/jit/sot/opcode_translator/executor/variables/basic.py:355
↓ 32 callers
Function
grad
.. note:: **This API is ONLY available in imperative mode.** This API computes the sum of gradients of `outputs` with respect to eac
python/paddle/autograd/ir_backward.py:1368
↓ 32 callers
Method
log_prob
(self, value)
test/distribution/test_distribution.py:26
↓ 32 callers
Method
numel
paddle/phi/api/lib/tensor.cc:86
↓ 32 callers
Method
place
paddle/fluid/distributed/collective/deep_ep_xpu/include/types.h:42
↓ 32 callers
Method
reshape2
paddle/fluid/framework/ir/pass_tester_helper.h:482
↓ 32 callers
Function
reverse
(x)
test/ir/pir/cinn/symbolic/test_cinn_elementwise_symbolic.py:61
↓ 32 callers
Method
set_backend
paddle/phi/core/kernel_factory.h:84
↓ 32 callers
Method
str_attr
paddle/pir/src/core/builder.cc:84
↓ 32 callers
Function
sum
distributed sum in fleet Args: input(numpy.array|Variable|string): output of a layer scope(Scope): specific scope Retur
python/paddle/distributed/fleet/metrics/metric.py:26
← previous
next →
1,501–1,600 of 118,755, ranked by callers