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
↓ 18,364 callers
Method
astype
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 callers
Method
to_tensor
paddle/phi/api/include/compat/ATen/core/ivalue.h:273
↓ 10,368 callers
Method
numpy
**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 callers
Method
dims
paddle/phi/core/meta_tensor.cc:41
↓ 6,141 callers
Method
data
test/cpp/pir/core/add_dialect_parser_test.cc:65
↓ 6,137 callers
Function
range
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 callers
Method
random
paddle/phi/capi/include/wrapper_base.h:368
↓ 5,492 callers
Method
push_back
paddle/phi/common/pstring.h:446
↓ 4,496 callers
Method
Program
paddle/pir/src/core/program.cc:55
↓ 4,220 callers
Method
size
paddle/phi/kernels/funcs/fft_cache.h:147
↓ 4,021 callers
Method
reshape
paddle/common/ddim.cc:237
↓ 3,409 callers
Method
main
(self, net_type, use_cuda, is_local=True)
test/contrib/test_image_classification_fp16.py:468
↓ 3,319 callers
Method
NewNode
paddle/fluid/framework/ir/graph_pattern_detector.cc:33
↓ 3,249 callers
Method
at
paddle/common/ddim.cc:54
↓ 3,119 callers
Method
Tensor
paddle/fluid/inference/api/details/zero_copy_tensor.cc:666
↓ 3,022 callers
Method
seed
paddle/phi/capi/include/wrapper_base.h:355
↓ 2,978 callers
Function
str
paddle/phi/api/include/compat/ATen/core/jit_type.h:191
↓ 2,902 callers
Method
uniform
(self, num_items, num_parts)
python/paddle/distributed/fleet/meta_parallel/parallel_layers/pp_layers.py:266
↓ 2,834 callers
Method
size
paddle/fluid/pir/dialect/distributed/ir/dist_attribute.h:45
↓ 2,807 callers
Method
run
( self, program: Program | CompiledProgram | None = ..., feed: dict[str, npt.NDArray[A
python/paddle/base/executor.py:1700
↓ 2,753 callers
Function
Instance
paddle/phi/core/platform/device/gpu/gpu_info.cc:176
↓ 2,717 callers
Function
list
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 callers
Method
size
paddle/phi/common/pstring.h:277
↓ 2,673 callers
Method
numel
paddle/phi/kernels/funcs/dense_tensor_iterator.cc:257
↓ 2,501 callers
Method
end
paddle/fluid/imperative/op_base.h:276
↓ 2,480 callers
Method
Name
paddle/fluid/framework/ir/node.h:79
↓ 2,298 callers
Method
Attr
paddle/fluid/pir/drr/src/match_context.cc:32
↓ 2,234 callers
Method
Op
paddle/fluid/framework/ir/node.h:91
↓ 2,216 callers
Method
find
paddle/phi/core/vocab/string_array.h:76
↓ 2,196 callers
Method
Executor
paddle/fluid/framework/executor.cc:68
↓ 2,141 callers
Method
CPUPlace
paddle/phi/common/place.h:134
↓ 2,072 callers
Method
join
(self, timeout=None)
python/paddle/distributed/launch/job/pod.py:135
↓ 2,060 callers
Method
End
paddle/cinn/utils/profiler.cc:79
↓ 2,058 callers
Method
size
paddle/fluid/framework/inlined_vector.h:31
↓ 2,038 callers
Method
append
(self, sublayer)
python/paddle/distributed/fleet/meta_parallel/parallel_layers/pp_layers.py:282
↓ 1,994 callers
Function
print
(*args, **kwargs)
python/paddle/jit/sot/psdb.py:36
↓ 1,969 callers
Method
rand
(self, shape, dtype=None)
test/legacy_test/test_fused_linear_param_grad_add.py:111
↓ 1,946 callers
Method
append
(self, layer)
test/legacy_test/test_lstm_cudnn_op.py:70
↓ 1,934 callers
Method
Resize
paddle/phi/core/sparse_coo_tensor.cc:98
↓ 1,900 callers
Method
append
(self, layer)
test/rnn/rnn_numpy.py:29
↓ 1,814 callers
Method
size
[span.obs], span observers
paddle/utils/span.h:353
↓ 1,795 callers
Method
size
Count of the arguments.
paddle/cinn/lang/packed_func.h:48
↓ 1,765 callers
Function
get_device_place
(device_id: int = 0)
test/legacy_test/op_test.py:450
↓ 1,750 callers
Method
global_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 callers
Method
size
paddle/fluid/imperative/op_base.h:248
↓ 1,704 callers
Function
PADDLE_GET_CONST
paddle/fluid/platform/device/ipu/popart_canonicalization/tensor_ops.cc:362
↓ 1,660 callers
Method
sum
(self, x)
test/dygraph_to_static/test_convert_call.py:209
↓ 1,622 callers
Method
count
paddle/fluid/framework/barrier.h:216
↓ 1,603 callers
Function
make_ddim
paddle/common/ddim.cc:72
↓ 1,593 callers
Method
assert_is_op_input
paddle/fluid/framework/ir/graph_pattern_detector.cc:542
↓ 1,568 callers
Method
full
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 callers
Method
mean
(self)
test/distribution/test_distribution_bernoulli.py:78
↓ 1,531 callers
Method
SetInput
paddle/fluid/framework/op_desc.cc:582
↓ 1,500 callers
Method
dtype
paddle/phi/api/lib/tensor.cc:129
↓ 1,456 callers
Method
set_dims_mapping
paddle/phi/core/distributed/auto_parallel/dist_attr.cc:71
↓ 1,447 callers
Method
operand_source
paddle/pir/src/core/operation.cc:289
↓ 1,391 callers
Method
rand
(self, shape, dtype=None)
test/xpu/test_fused_linear_param_grad_add_xpu.py:108
↓ 1,387 callers
Method
append
(self, x)
python/paddle/nn/decode.py:42
↓ 1,372 callers
Method
emplace_back
paddle/phi/core/tensor_array.cc:131
↓ 1,362 callers
Method
begin
paddle/fluid/imperative/op_base.h:274
↓ 1,335 callers
Method
transpose
(self, x)
test/legacy_test/test_svd_lowrank.py:23
↓ 1,323 callers
Method
insert
paddle/fluid/pir/serialize_deserialize/src/schema.cc:66
↓ 1,313 callers
Function
name
paddle/fluid/pir/dialect/operator/ir/op_type.h:37
↓ 1,283 callers
Method
items
Return the iterable of the key/value pairs in LayerDict. Parameters: None. Examples: .. code-block:
python/paddle/nn/layer/container.py:208
↓ 1,264 callers
Function
float
paddle/phi/common/float16.h:297
↓ 1,241 callers
Method
backward
(self, k_grad)
test/legacy_test/test_grad_api.py:78
↓ 1,206 callers
Method
set_dims
paddle/phi/core/meta_tensor.cc:90
↓ 1,187 callers
Method
emplace
paddle/phi/core/vocab/string_array.h:68
↓ 1,186 callers
Method
parameters
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 callers
Method
assert_is_op_output
paddle/fluid/framework/ir/graph_pattern_detector.cc:522
↓ 1,159 callers
Method
dtype
paddle/phi/kernels/funcs/dense_tensor_iterator.h:84
↓ 1,138 callers
Function
is_custom_device
()
test/legacy_test/op_test.py:461
↓ 1,129 callers
Method
value
paddle/pir/src/core/builtin_op.cc:672
↓ 1,122 callers
Method
get
(self, x)
test/sot/test_23_super.py:317
↓ 1,121 callers
Method
set_dtype
paddle/phi/core/meta_tensor.cc:126
↓ 1,100 callers
Method
SetAttr
paddle/fluid/framework/ir/fusion_group/code_generator_helper.h:69
↓ 1,088 callers
Function
type
paddle/pir/include/core/parameter.h:70
↓ 1,085 callers
Method
data
paddle/phi/common/pstring.h:324
↓ 1,081 callers
Method
result
paddle/pir/include/core/op_base.h:73
↓ 1,076 callers
Method
result
paddle/fluid/pir/dialect/distributed/ir/dist_attribute.h:141
↓ 1,072 callers
Function
Visit
paddle/cinn/ir/stmt_visitors.cc:20
↓ 1,066 callers
Method
Op
paddle/fluid/pir/drr/include/drr_pattern_context.h:162
↓ 1,060 callers
Method
assert_is_op
paddle/fluid/framework/ir/graph_pattern_detector.cc:413
↓ 1,056 callers
Method
emplace_back
paddle/fluid/framework/inlined_vector.h:39
↓ 1,029 callers
Method
get
paddle/fluid/pybind/eager_utils.cc:3066
↓ 1,021 callers
Method
empty
paddle/fluid/imperative/op_base.h:250
↓ 1,019 callers
Method
x_context
paddle/phi/backends/xpu/xpu_context.cc:457
↓ 1,009 callers
Method
create_parameter
(self, *args, **kwargs)
python/paddle/base/framework.py:4696
↓ 1,000 callers
Method
data
paddle/fluid/pir/dialect/operator/ir/op_attribute.cc:24
↓ 985 callers
Method
all
Tensor member function implementations
paddle/phi/api/include/compat/ATen/ops/all.h:53
↓ 980 callers
Method
c_str
paddle/phi/common/pstring.h:322
↓ 973 callers
Function
Make
paddle/phi/api/include/compat/c10/util/typeid.h:430
↓ 969 callers
Method
GetPlace
paddle/phi/common/memory_utils.h:522
↓ 968 callers
Method
type
paddle/cinn/ir/ir.cc:391
↓ 953 callers
Method
matmul
paddle/fluid/framework/ir/pass_tester_helper.h:422
↓ 949 callers
Function
vectorize
paddle/common/ddim.h:187
↓ 942 callers
Function
convert_float_to_uint16
(float_list, data_format="NCHW")
test/legacy_test/op_test.py:374
↓ 923 callers
Function
create_test_case
(baseclass, ldtype, rdtype, expected_out_dtype=None)
test/legacy_test/test_tensor_type_promotion.py:55
↓ 916 callers
Method
impl
paddle/pir/include/core/block_operand.h:67
↓ 908 callers
Method
dist_attr
Get distributed attribute of this Variable.
python/paddle/base/framework.py:3135
next →
1–100 of 118,755, ranked by callers