File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- # TODO: define functions to get tensor attributes
16-
17- import numpy as np
15+ from ..framework import core
16+ from ..framework import LayerHelper
17+ from ..fluid .data_feeder import check_variable_and_dtype
18+ from ..fluid .data_feeder import check_type
1819
20+ from .creation import assign
21+ from .creation import _complex_to_real_dtype
1922
23+ # TODO: define functions to get tensor attributes
2024import paddle
2125from paddle import _C_ops , _legacy_C_ops
22-
23- from ..fluid .data_feeder import check_type , check_variable_and_dtype
24- from ..fluid .framework import _in_legacy_dygraph , in_dygraph_mode
25- from ..framework import LayerHelper , core
2626from ..static import Variable
27- from .creation import _complex_to_real_dtype , assign
27+ from ..fluid .framework import _in_legacy_dygraph , in_dygraph_mode
28+
29+ import numpy as np
2830
2931__all__ = []
3032
You can’t perform that action at this time.
0 commit comments