MCPcopy Create free account

hub / github.com/PaddlePaddle/Paddle / functions

Functions118,755 in github.com/PaddlePaddle/Paddle

↓ 83 callersMethodsize
paddle/phi/core/memory/allocation/inlined_vector.h:32
↓ 83 callersMethodto<float>
paddle/phi/capi/include/wrapper_base.h:392
↓ 83 callersMethodto_string
paddle/phi/infermeta/spmd_rules/dim_trans.cc:33
↓ 83 callersMethodtype
paddle/cinn/operator_fusion/pattern_node.h:72
↓ 82 callersMethodcheck
(self, actual_t, expect_t, place, out_name, atol=1e-5)
test/xpu/test_rmsprop_op_xpu.py:247
↓ 82 callersMethodclear_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 callersFunctionfloat16
paddle/cinn/runtime/cuda/float16.h:86
↓ 82 callersFunctionget_devices
()
test/legacy_test/op_test.py:415
↓ 82 callersMethodpop
paddle/phi/core/tensor_array.cc:121
↓ 82 callersMethodpush_back
paddle/phi/core/vocab/phi_tensor_base_vector.h:73
↓ 82 callersFunctionround
(x)
python/paddle/nn/quant/lsq.py:26
↓ 82 callersMethodset_training
(self)
test/ipu/test_warpctc_op_ipu.py:32
↓ 81 callersMethodLayerNorm
paddle/fluid/framework/ir/graph_pattern_detector.h:2149
↓ 81 callersMethod_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 callersMethodclone
(self)
python/paddle/distributed/auto_parallel/static/helper.py:187
↓ 81 callersMethodcreate_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 callersMethodindex
paddle/fluid/operators/controlflow/op_variant.h:63
↓ 81 callersMethodrun_test_case
(self)
test/auto_parallel/reshard_s_to_p.py:72
↓ 81 callersMethodset_input_dims_mapping
paddle/fluid/distributed/auto_parallel/dist_attr.cc:203
↓ 80 callersMethodGetBlock
paddle/cinn/ir/schedule/impl/base.cc:187
↓ 80 callersMethodbegin
paddle/pir/include/core/iterator.h:285
↓ 80 callersMethodeval
(self, use_cinn)
test/ir/pir/cinn/symbolic/test_while_st.py:65
↓ 80 callersMethodfinfo
paddle/fluid/pybind/pybind.cc:552
↓ 80 callersMethodscale
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 callersFunctionCreateConst
paddle/fluid/platform/device/ipu/popart_canonicalization/op_builder.h:51
↓ 79 callersFunctionInputDirectConvCudaParam
paddle/cinn/hlir/pe/schedule.cc:421
↓ 79 callersMethodSize
paddle/fluid/framework/heter_util.h:132
↓ 79 callersMethodassert_is_ops
paddle/fluid/framework/ir/graph_pattern_detector.cc:599
↓ 79 callersMethodeval
(self, use_cinn)
test/ir/pir/cinn/test_softmax.py:43
↓ 79 callersFunctionproduct
(dim)
test/legacy_test/op_test.py:162
↓ 79 callersFunctionset_constant
paddle/phi/kernels/funcs/math_function.cc:277
↓ 79 callersMethodset_rows
paddle/phi/core/selected_rows.h:62
↓ 79 callersMethodstep
(self)
test/collective/fleet/test_imperative_auto_mixed_precision_for_eager.py:271
↓ 79 callersMethodtype
paddle/fluid/framework/ir/onednn/conv_bias_onednn_fuse_pass.h:34
↓ 78 callersFunctionend
paddle/pir/include/core/region.h:49
↓ 78 callersFunctioninterpolate
( input: Tensor, size: ShapeLike | None = None, scale_factor: ShapeLike | float | None = None,
python/paddle/nn/functional/common.py:234
↓ 78 callersMethodis_cpu
paddle/phi/api/lib/tensor.cc:170
↓ 78 callersMethodsource
paddle/pir/src/core/op_operand.cc:46
↓ 77 callersMethodAddImpl
paddle/cinn/hlir/framework/op_strategy.cc:88
↓ 77 callersMethoddims
paddle/phi/core/distributed/auto_parallel/dist_meta_tensor.cc:21
↓ 77 callersFunctionprogram_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 callersFunctionCreate
paddle/fluid/inference/tensorrt/engine.h:655
↓ 76 callersMethodlayer_norm
paddle/fluid/framework/ir/pass_tester_helper.h:354
↓ 76 callersFunctionname
paddle/cinn/hlir/dialect/operator/ir/manual_op.h:39
↓ 76 callersMethodshape
Indicating shape of current Variable **Notes: This is a read-only property** Examples: .. code-block:: pycon
python/paddle/base/framework.py:2445
↓ 76 callersMethodstorage
\brief Access to the storage instance.
paddle/pir/include/core/storage_manager_support.h:79
↓ 76 callersFunctionswap
paddle/utils/variant.h:2749
↓ 76 callersMethoduse_count
paddle/pir/src/core/value.cc:79
↓ 75 callersMethodall_attrs
Get the attribute dict. Returns: dict: The Operator's attribute dict, name->attr.
python/paddle/base/framework.py:4027
↓ 75 callersMethodis_string
paddle/cinn/common/type.cc:379
↓ 75 callersMethodsearch
(outputs, path, result)
python/paddle/jit/sot/symbolic/export.py:318
↓ 75 callersMethodset_partial_status
paddle/phi/core/distributed/auto_parallel/dist_attr.cc:133
↓ 75 callersMethodsize
paddle/cinn/backends/nvrtc/header_generator.cc:32
↓ 75 callersMethodstep
Execute the optimizer and update parameters once. Returns: None Examples: .. code-block:: pycon
python/paddle/optimizer/adamw.py:639
↓ 75 callersFunctiontest_instruction_translator_cache_context
()
test/sot/test_case_base.py:32
↓ 74 callersMethodEraseOp
paddle/pir/src/pattern_rewrite/pattern_match.cc:137
↓ 74 callersMethodSet
paddle/phi/backends/device_code.cc:34
↓ 74 callersFunctionbegin
paddle/pir/include/core/region.h:48
↓ 74 callersMethoddist_attr
(self)
python/paddle/distributed/auto_parallel/static/dist_op.py:49
↓ 74 callersMethodmean
Mean of beta distribution.
python/paddle/distribution/beta.py:116
↓ 74 callersMethodmutable_data
paddle/fluid/inference/api/details/zero_copy_tensor.cc:93
↓ 74 callersMethodname
paddle/pir/src/core/op_info.cc:34
↓ 74 callersMethodpush
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 callersMethodupdate
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 callersMethodMatch
paddle/ap/src/paddle/pass/ap_generic_drr_pass.cc:1857
↓ 73 callersMethodRenameInput
paddle/fluid/framework/op_desc.cc:929
↓ 73 callersFunctionflatten_to_2d
paddle/common/ddim.cc:210
↓ 73 callersMethodname
paddle/fluid/pir/transforms/sub_graph_detector.cc:249
↓ 73 callersMethodplace
paddle/fluid/distributed/collective/deep_ep/include/types.h:42
↓ 73 callersMethodreset
paddle/fluid/framework/data_feed.cc:3189
↓ 73 callersMethodwhat
test/cpp/fluid/framework/operator_exception_test.cc:50
↓ 72 callersFunctionDebugString
paddle/fluid/imperative/layer.cc:82
↓ 72 callersMethodIsInitialized
Currently we use grad_node_ to identify if a edge is initialized.
paddle/fluid/eager/grad_node_info.h:97
↓ 72 callersFunctionPlace
paddle/phi/common/place.h:68
↓ 72 callersMethoddtype
paddle/phi/core/distributed/auto_parallel/dist_tensor.cc:301
↓ 72 callersFunctionfind_files
(pattern, root, recursive=False)
setup.py:904
↓ 72 callersMethodgelu
(self, x)
test/legacy_test/test_float8.py:170
↓ 72 callersFunctionis_dim_shard
(mapping)
python/paddle/distributed/auto_parallel/static/utils.py:94
↓ 72 callersMethodset_atol
(self)
test/ipu/test_conv_op_ipu.py:31
↓ 72 callersMethodset_lod
(self)
test/legacy_test/test_lstm_op.py:134
↓ 71 callersFunctionGetCurrentDeviceId
paddle/phi/backends/gpu/rocm/rocm_info.cc:175
↓ 71 callersMethodPlace
paddle/phi/common/place.cc:61
↓ 71 callersMethod__init__
(self, op=None, op_desc=None, cluster=None, rank=None)
python/paddle/distributed/auto_parallel/static/cost/comp_op_cost.py:318
↓ 71 callersMethodcompare_with_dense
(self, dense_func, sparse_func, dtype='float32')
test/legacy_test/test_sparse_unary_op.py:119
↓ 71 callersMethodcompare_with_dense
(self, dense_func, sparse_func, dtype='float32')
test/legacy_test/test_sparse_unary_op.py:423
↓ 71 callersFunctionenable_to_static_guard
(flag: bool)
test/dygraph_to_static/dygraph_to_static_utils.py:425
↓ 71 callersMethodengine
paddle/fluid/platform/tensorrt/engine.h:175
↓ 71 callersMethodndim
paddle/phi/kernels/funcs/dense_tensor_iterator.h:73
↓ 71 callersMethodnumel
paddle/cinn/ir/buffer.cc:140
↓ 71 callersMethodoffset
paddle/fluid/pir/dialect/operator/ir/ir_tensor.h:72
↓ 70 callersMethodGet
paddle/ap/include/graph/node_arena.h:152
↓ 70 callersFunctionName
paddle/fluid/framework/var_desc.h:95
↓ 70 callersFunctionType
paddle/fluid/framework/op_desc.h:65
↓ 70 callersFunctiondist
(x, y, p)
test/legacy_test/test_dist_op.py:27
↓ 70 callersMethodis_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 callersMethodset_attr
(self, key, value)
python/paddle/distributed/passes/pass_base.py:68
↓ 70 callersMethodset_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 callersMethodtype
paddle/pir/src/core/value.cc:50
↓ 70 callersMethodwhile_loop
paddle/fluid/framework/ir/pass_tester_helper.h:563
↓ 70 callersFunctionzeros
( shape: ShapeLike, dtype: DTypeLike | None = None, name: str | None = None, *, out: paddl
python/paddle/tensor/creation.py:1780
← previousnext →801–900 of 118,755, ranked by callers