Submit
Path:
~
/
/
opt
/
cloudlinux
/
venv
/
lib64
/
python3.11
/
site-packages
/
numpy
/
array_api
/
tests
/
__pycache__
/
File Content:
test_manipulation_functions.cpython-311.pyc
� � h? � �h � d dl mZ d dlZddlmZ ddlmZ ddlm Z m Z ddlmZm Z mZ d� Zd � Zd � ZdS )� )� assert_raisesN� )�all)�asarray)�float64�int8)�concat�reshape�stackc �^ � t t d� � � t t d� � � d S )Nc �$ � t dd �� � S )N)� r )�axis)r � � �f/opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/array_api/tests/test_manipulation_functions.py�<lambda>z$test_concat_errors.<locals>.<lambda> s � �V�F��%>�%>�%>� r c �x � t t dgt �� � t dgt �� � g� � S )Nr ��dtype)r r r r r r r r z$test_concat_errors.<locals>.<lambda> s; � �V�W�a�S��-E�-E�-E�-4�a�S��-H�-H�-H�-J� &K� &K� r �r � TypeErrorr r r �test_concat_errorsr sE � ��)�>�>�?�?�?��)� K� K� L� L� L� L� Lr c �2 � t t d� � � d S )Nc �| � t t ddgt �� � t ddgt �� � g� � S )Nr r r )r r r r r r r r z#test_stack_errors.<locals>.<lambda> s? � �U�G�Q��F�$�,G�,G�,G�,3�Q��F�'�,J�,J�,J�,L� &M� &M� r r r r r �test_stack_errorsr s1 � ��)� M� M� N� N� N� N� Nr c � �� t t j d� � � � �t �dd�� � } t j �j | j � � rJ �t t j d� � � � �t �dd�� � } t j �j | j � � sJ �t t j d� � j � � �t �dd�� � } t t �fd�� � d S )N�r � )r r T��copyFc �( �� t � dd�� � S )Nr Fr )r )�as �r r z#test_reshape_copy.<locals>.<lambda>$ s �� �'�!�V�%�*H�*H�*H� r ) r �np�onesr � shares_memory�_array�Tr �AttributeError)�br# s @r �test_reshape_copyr+ s� �� ������� � �A���6��%�%�%�A�����!�(�3�3�3�3�3������� � �A���6��&�&�&�A� ��A�H�a�h�/�/�/�/�/�������!�"�"�A���6��%�%�%�A��.�"H�"H�"H�"H�I�I�I�I�Ir )� numpy.testingr �numpyr$ � r �_creation_functionsr �_dtypesr r �_manipulation_functionsr r r r r r+ r r r �<module>r2 s� �� '� '� '� '� '� '� � � � � � � � � � � )� )� )� )� )� )� #� #� #� #� #� #� #� #�� � � � � � � � � �L� L� L�N� N� N� J� J� J� J� Jr
Submit
FILE
FOLDER
Name
Size
Permission
Action
__init__.cpython-311.opt-1.pyc
492 bytes
0644
__init__.cpython-311.pyc
492 bytes
0644
test_array_object.cpython-311.opt-1.pyc
30070 bytes
0644
test_array_object.cpython-311.pyc
32667 bytes
0644
test_creation_functions.cpython-311.opt-1.pyc
15730 bytes
0644
test_creation_functions.cpython-311.pyc
16126 bytes
0644
test_data_type_functions.cpython-311.opt-1.pyc
2276 bytes
0644
test_data_type_functions.cpython-311.pyc
2375 bytes
0644
test_elementwise_functions.cpython-311.opt-1.pyc
5151 bytes
0644
test_elementwise_functions.cpython-311.pyc
5151 bytes
0644
test_indexing_functions.cpython-311.opt-1.pyc
1192 bytes
0644
test_indexing_functions.cpython-311.pyc
1324 bytes
0644
test_manipulation_functions.cpython-311.opt-1.pyc
2894 bytes
0644
test_manipulation_functions.cpython-311.pyc
3103 bytes
0644
test_set_functions.cpython-311.opt-1.pyc
1218 bytes
0644
test_set_functions.cpython-311.pyc
1310 bytes
0644
test_sorting_functions.cpython-311.opt-1.pyc
1148 bytes
0644
test_sorting_functions.cpython-311.pyc
1280 bytes
0644
test_validation.cpython-311.opt-1.pyc
2073 bytes
0644
test_validation.cpython-311.pyc
2073 bytes
0644
N4ST4R_ID | Naxtarrr