Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【Hackathon 5th No.17】 为 Paddle 新增 pdist API -part #57869

Merged
merged 26 commits into from
Dec 14, 2023
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
3e19c90
add pdist api
cocoshe Oct 3, 2023
51b908a
move pdist to nn.functional, expose paddle.pdist api
cocoshe Oct 7, 2023
ced239c
clean
cocoshe Oct 7, 2023
9c651d9
clean
cocoshe Oct 7, 2023
13d04ad
fix codestyle
cocoshe Oct 21, 2023
8bcbe47
fix conflict
cocoshe Nov 11, 2023
212bdf7
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
cocoshe Nov 24, 2023
7bbc22e
remove compute_mode
cocoshe Nov 24, 2023
20f82de
for api name rules
cocoshe Nov 24, 2023
b06dd06
Merge branch 'develop' into pdist_coco_dev
cocoshe Nov 29, 2023
2e259a6
Merge branch 'develop' of https://github.com/PaddlePaddle/Paddle into…
cocoshe Nov 30, 2023
e9dfa5a
Update test_pdist.py
cocoshe Nov 30, 2023
cddec3b
Merge branch 'pdist_coco_dev' of https://github.com/cocoshe/Paddle in…
cocoshe Nov 30, 2023
23d5f7e
add seed
cocoshe Nov 30, 2023
3a9fbfb
fix code sample
cocoshe Dec 1, 2023
e41f9dc
Merge branch 'pdist_coco_dev' of https://github.com/cocoshe/Paddle in…
cocoshe Dec 5, 2023
008ae5b
fix doc
cocoshe Dec 5, 2023
114453a
Update distance.py
cocoshe Dec 5, 2023
171339d
gpu0 to cpu in api doc
cocoshe Dec 9, 2023
8a281b4
gpu0 to cpu in api doc
cocoshe Dec 9, 2023
a9d053c
remove pdist in nn.functional __all__ list
cocoshe Dec 12, 2023
b3816df
Merge branch 'develop' into pdist_coco_dev
cocoshe Dec 12, 2023
3f7b607
Update __init__.py
cocoshe Dec 12, 2023
e3e5abf
fix en doc
cocoshe Dec 13, 2023
8172f28
Update python/paddle/nn/functional/distance.py
cocoshe Dec 13, 2023
0146a37
Update python/paddle/nn/functional/distance.py
cocoshe Dec 13, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'develop' into pdist_coco_dev
cocoshe authored Dec 12, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit b3816df22c8d0fd0c667d1328f5a855ca20abeeb
33 changes: 1 addition & 32 deletions python/paddle/__init__.py
Original file line number Diff line number Diff line change
@@ -520,43 +520,12 @@
std,
var,
)
from .device import ( # noqa: F401
get_cudnn_version,
set_device,
get_device,
is_compiled_with_xpu,
is_compiled_with_ipu,
is_compiled_with_cinn,
is_compiled_with_distribute,
is_compiled_with_cuda,
is_compiled_with_rocm,
is_compiled_with_custom_device,
)

# high-level api
from . import ( # noqa: F401
callbacks,
hub,
linalg,
fft,
signal,
_pir_ops,
)
from .hapi import (
Model,
summary,
flops,
)

from .nn.functional.distance import ( # noqa: F401
pdist,
)
from .tensor.to_string import set_printoptions

import paddle.text # noqa: F401
import paddle.vision # noqa: F401

from .tensor.random import check_shape
from .nn.initializer.lazy_init import LazyGuard

# CINN has to set a flag to include a lib
if is_compiled_with_cinn():
You are viewing a condensed version of this merge commit. You can view the full changes here.