MCPcopy Create free account

hub / github.com/PaddlePaddle/Paddle / functions

Functions118,755 in github.com/PaddlePaddle/Paddle

↓ 18,364 callersMethodastype
Casts all parameters and buffers to dtype and then return the Layer. Parameters: dtype(str|paddle.dtype|numpy.dtype): t
python/paddle/nn/layer/layers.py:1248
↓ 11,401 callersMethodto_tensor
paddle/phi/api/include/compat/ATen/core/ivalue.h:273
↓ 10,368 callersMethodnumpy
**Notes**: **This API is ONLY available in Dygraph mode** Returns a numpy array shows the value of current :ref:`api_gui
python/paddle/base/framework.py:1943
↓ 7,790 callersMethoddims
paddle/phi/core/meta_tensor.cc:41
↓ 6,141 callersMethoddata
test/cpp/pir/core/add_dialect_parser_test.cc:65
↓ 6,137 callersFunctionrange
r""" Returns a 1-D Tensor of size $$ \lfloor \dfrac{end - start}{step} \rfloor + 1 $$ with values from ``start`` to ``end`` with ``step``. ``s
python/paddle/tensor/creation.py:2471
↓ 6,046 callersMethodrandom
paddle/phi/capi/include/wrapper_base.h:368
↓ 5,492 callersMethodpush_back
paddle/phi/common/pstring.h:446
↓ 4,496 callersMethodProgram
paddle/pir/src/core/program.cc:55
↓ 4,220 callersMethodsize
paddle/phi/kernels/funcs/fft_cache.h:147
↓ 4,021 callersMethodreshape
paddle/common/ddim.cc:237
↓ 3,409 callersMethodmain
(self, net_type, use_cuda, is_local=True)
test/contrib/test_image_classification_fp16.py:468
↓ 3,319 callersMethodNewNode
paddle/fluid/framework/ir/graph_pattern_detector.cc:33
↓ 3,249 callersMethodat
paddle/common/ddim.cc:54
↓ 3,119 callersMethodTensor
paddle/fluid/inference/api/details/zero_copy_tensor.cc:666
↓ 3,022 callersMethodseed
paddle/phi/capi/include/wrapper_base.h:355
↓ 2,978 callersFunctionstr
paddle/phi/api/include/compat/ATen/core/jit_type.h:191
↓ 2,902 callersMethoduniform
(self, num_items, num_parts)
python/paddle/distributed/fleet/meta_parallel/parallel_layers/pp_layers.py:266
↓ 2,834 callersMethodsize
paddle/fluid/pir/dialect/distributed/ir/dist_attribute.h:45
↓ 2,807 callersMethodrun
( self, program: Program | CompiledProgram | None = ..., feed: dict[str, npt.NDArray[A
python/paddle/base/executor.py:1700
↓ 2,753 callersFunctionInstance
paddle/phi/core/platform/device/gpu/gpu_info.cc:176
↓ 2,717 callersFunctionlist
r""" List all entrypoints available in `github` hubconf. Args: repo_dir(str): Github or local path. - github path (str):
python/paddle/hapi/hub.py:192
↓ 2,697 callersMethodsize
paddle/phi/common/pstring.h:277
↓ 2,673 callersMethodnumel
paddle/phi/kernels/funcs/dense_tensor_iterator.cc:257
↓ 2,501 callersMethodend
paddle/fluid/imperative/op_base.h:276
↓ 2,480 callersMethodName
paddle/fluid/framework/ir/node.h:79
↓ 2,298 callersMethodAttr
paddle/fluid/pir/drr/src/match_context.cc:32
↓ 2,234 callersMethodOp
paddle/fluid/framework/ir/node.h:91
↓ 2,216 callersMethodfind
paddle/phi/core/vocab/string_array.h:76
↓ 2,196 callersMethodExecutor
paddle/fluid/framework/executor.cc:68
↓ 2,141 callersMethodCPUPlace
paddle/phi/common/place.h:134
↓ 2,072 callersMethodjoin
(self, timeout=None)
python/paddle/distributed/launch/job/pod.py:135
↓ 2,060 callersMethodEnd
paddle/cinn/utils/profiler.cc:79
↓ 2,058 callersMethodsize
paddle/fluid/framework/inlined_vector.h:31
↓ 2,038 callersMethodappend
(self, sublayer)
python/paddle/distributed/fleet/meta_parallel/parallel_layers/pp_layers.py:282
↓ 1,994 callersFunctionprint
(*args, **kwargs)
python/paddle/jit/sot/psdb.py:36
↓ 1,969 callersMethodrand
(self, shape, dtype=None)
test/legacy_test/test_fused_linear_param_grad_add.py:111
↓ 1,946 callersMethodappend
(self, layer)
test/legacy_test/test_lstm_cudnn_op.py:70
↓ 1,934 callersMethodResize
paddle/phi/core/sparse_coo_tensor.cc:98
↓ 1,900 callersMethodappend
(self, layer)
test/rnn/rnn_numpy.py:29
↓ 1,814 callersMethodsize
[span.obs], span observers
paddle/utils/span.h:353
↓ 1,795 callersMethodsize
Count of the arguments.
paddle/cinn/lang/packed_func.h:48
↓ 1,765 callersFunctionget_device_place
(device_id: int = 0)
test/legacy_test/op_test.py:450
↓ 1,750 callersMethodglobal_block
.. note:: This API has no effect in Dygraph mode. Get the first :ref:`api_guide_Block_en` of this Program. Retu
python/paddle/base/framework.py:7215
↓ 1,750 callersMethodsize
paddle/fluid/imperative/op_base.h:248
↓ 1,704 callersFunctionPADDLE_GET_CONST
paddle/fluid/platform/device/ipu/popart_canonicalization/tensor_ops.cc:362
↓ 1,660 callersMethodsum
(self, x)
test/dygraph_to_static/test_convert_call.py:209
↓ 1,622 callersMethodcount
paddle/fluid/framework/barrier.h:216
↓ 1,603 callersFunctionmake_ddim
paddle/common/ddim.cc:72
↓ 1,593 callersMethodassert_is_op_input
paddle/fluid/framework/ir/graph_pattern_detector.cc:542
↓ 1,568 callersMethodfull
Returns an iterator over the full, unsharded model parameters. The output parameters can be customized using the `aoa_config` argumen
python/paddle/nn/layer/layers.py:2707
↓ 1,558 callersMethodmean
(self)
test/distribution/test_distribution_bernoulli.py:78
↓ 1,531 callersMethodSetInput
paddle/fluid/framework/op_desc.cc:582
↓ 1,500 callersMethoddtype
paddle/phi/api/lib/tensor.cc:129
↓ 1,456 callersMethodset_dims_mapping
paddle/phi/core/distributed/auto_parallel/dist_attr.cc:71
↓ 1,447 callersMethodoperand_source
paddle/pir/src/core/operation.cc:289
↓ 1,391 callersMethodrand
(self, shape, dtype=None)
test/xpu/test_fused_linear_param_grad_add_xpu.py:108
↓ 1,387 callersMethodappend
(self, x)
python/paddle/nn/decode.py:42
↓ 1,372 callersMethodemplace_back
paddle/phi/core/tensor_array.cc:131
↓ 1,362 callersMethodbegin
paddle/fluid/imperative/op_base.h:274
↓ 1,335 callersMethodtranspose
(self, x)
test/legacy_test/test_svd_lowrank.py:23
↓ 1,323 callersMethodinsert
paddle/fluid/pir/serialize_deserialize/src/schema.cc:66
↓ 1,313 callersFunctionname
paddle/fluid/pir/dialect/operator/ir/op_type.h:37
↓ 1,283 callersMethoditems
Return the iterable of the key/value pairs in LayerDict. Parameters: None. Examples: .. code-block:
python/paddle/nn/layer/container.py:208
↓ 1,264 callersFunctionfloat
paddle/phi/common/float16.h:297
↓ 1,241 callersMethodbackward
(self, k_grad)
test/legacy_test/test_grad_api.py:78
↓ 1,206 callersMethodset_dims
paddle/phi/core/meta_tensor.cc:90
↓ 1,187 callersMethodemplace
paddle/phi/core/vocab/string_array.h:68
↓ 1,186 callersMethodparameters
Returns a list of parameters of the model. Returns: A list of Parameter in static graph. A list of ParamBas
python/paddle/hapi/model.py:2022
↓ 1,169 callersMethodassert_is_op_output
paddle/fluid/framework/ir/graph_pattern_detector.cc:522
↓ 1,159 callersMethoddtype
paddle/phi/kernels/funcs/dense_tensor_iterator.h:84
↓ 1,138 callersFunctionis_custom_device
()
test/legacy_test/op_test.py:461
↓ 1,129 callersMethodvalue
paddle/pir/src/core/builtin_op.cc:672
↓ 1,122 callersMethodget
(self, x)
test/sot/test_23_super.py:317
↓ 1,121 callersMethodset_dtype
paddle/phi/core/meta_tensor.cc:126
↓ 1,100 callersMethodSetAttr
paddle/fluid/framework/ir/fusion_group/code_generator_helper.h:69
↓ 1,088 callersFunctiontype
paddle/pir/include/core/parameter.h:70
↓ 1,085 callersMethoddata
paddle/phi/common/pstring.h:324
↓ 1,081 callersMethodresult
paddle/pir/include/core/op_base.h:73
↓ 1,076 callersMethodresult
paddle/fluid/pir/dialect/distributed/ir/dist_attribute.h:141
↓ 1,072 callersFunctionVisit
paddle/cinn/ir/stmt_visitors.cc:20
↓ 1,066 callersMethodOp
paddle/fluid/pir/drr/include/drr_pattern_context.h:162
↓ 1,060 callersMethodassert_is_op
paddle/fluid/framework/ir/graph_pattern_detector.cc:413
↓ 1,056 callersMethodemplace_back
paddle/fluid/framework/inlined_vector.h:39
↓ 1,029 callersMethodget
paddle/fluid/pybind/eager_utils.cc:3066
↓ 1,021 callersMethodempty
paddle/fluid/imperative/op_base.h:250
↓ 1,019 callersMethodx_context
paddle/phi/backends/xpu/xpu_context.cc:457
↓ 1,009 callersMethodcreate_parameter
(self, *args, **kwargs)
python/paddle/base/framework.py:4696
↓ 1,000 callersMethoddata
paddle/fluid/pir/dialect/operator/ir/op_attribute.cc:24
↓ 985 callersMethodall
Tensor member function implementations
paddle/phi/api/include/compat/ATen/ops/all.h:53
↓ 980 callersMethodc_str
paddle/phi/common/pstring.h:322
↓ 973 callersFunctionMake
paddle/phi/api/include/compat/c10/util/typeid.h:430
↓ 969 callersMethodGetPlace
paddle/phi/common/memory_utils.h:522
↓ 968 callersMethodtype
paddle/cinn/ir/ir.cc:391
↓ 953 callersMethodmatmul
paddle/fluid/framework/ir/pass_tester_helper.h:422
↓ 949 callersFunctionvectorize
paddle/common/ddim.h:187
↓ 942 callersFunctionconvert_float_to_uint16
(float_list, data_format="NCHW")
test/legacy_test/op_test.py:374
↓ 923 callersFunctioncreate_test_case
(baseclass, ldtype, rdtype, expected_out_dtype=None)
test/legacy_test/test_tensor_type_promotion.py:55
↓ 916 callersMethodimpl
paddle/pir/include/core/block_operand.h:67
↓ 908 callersMethoddist_attr
Get distributed attribute of this Variable.
python/paddle/base/framework.py:3135
next →1–100 of 118,755, ranked by callers