2025-09-16 15:42:26 +08:00
|
|
|
# Copyright (c) 2025 PaddlePaddle Authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
|
#
|
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
#
|
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
|
# limitations under the License.
|
|
|
|
|
from .compat import split
|
2025-11-06 14:13:32 +08:00
|
|
|
from .tensor.creation import meshgrid
|
2025-09-16 15:42:26 +08:00
|
|
|
from .tensor.einsum import einsum
|
|
|
|
|
from .tensor.linalg import norm
|
|
|
|
|
from .tensor.manipulation import (
|
|
|
|
|
atleast_1d,
|
|
|
|
|
atleast_2d,
|
|
|
|
|
atleast_3d,
|
|
|
|
|
unique_consecutive,
|
|
|
|
|
)
|
|
|
|
|
from .tensor.math import broadcast_shapes
|
|
|
|
|
|
|
|
|
|
__all__ = [
|
|
|
|
|
'atleast_1d',
|
|
|
|
|
'atleast_2d',
|
|
|
|
|
'atleast_3d',
|
|
|
|
|
'broadcast_shapes',
|
|
|
|
|
"einsum",
|
|
|
|
|
"norm",
|
|
|
|
|
'split',
|
|
|
|
|
'unique_consecutive',
|
2025-11-06 14:13:32 +08:00
|
|
|
"meshgrid",
|
2025-09-16 15:42:26 +08:00
|
|
|
]
|