관리-도구
편집 파일: test_shape_base.cpython-311.pyc
� �܋f�h � �D � d dl Zd dlZd dlZd dlZd dlmZmZmZm Z m Z mZmZm Z mZmZmZmZmZmZ d dlmZmZmZmZmZ ej dk Zd� Z G d� d� � Z G d� d � � Z G d � d� � Z G d� d � � Z G d� d� � Z! G d� d� � Z" G d� d� � Z# G d� d� � Z$ G d� d� � Z% G d� d� � Z& G d� d� � Z' G d� d� � Z( G d� d� � Z) G d � d!� � Z* G d"� d#� � Z+ G d$� d%� � Z,d&� Z-dS )'� N)�apply_along_axis�apply_over_axes�array_split�split�hsplit�dsplit�vsplit�dstack�column_stack�kron�tile�expand_dims�take_along_axis�put_along_axis)�assert_�assert_equal�assert_array_equal� assert_raises�assert_warns� c �F � � t j � � � � fd�� � }|S )z: hack in keepdims behavior into a function taking an axis c �N �� �| fd|i|��}|�d}t j ||�� � S )N�axisr �r )�npr )�ar �kwargs�res�funcs ��r/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/lib/tests/test_shape_base.py�wrappedz_add_keepdims.<locals>.wrapped s>