
    zj                    >    d dl mZ d dlZd dlmZ d dlmZ 	 ddd
ZdS )    )annotationsN)Tensor)in_dynamic_modeFout-Tensor | tuple[Tensor, Tensor] | list[Tensor]expect_multipleboolc           	     Z   | d S t                      st          d          |rt          | t          t          f          rt          |           dk    r t          dt          |            d          t          | d         t          j	                  r t          | d         t          j	                  s<t          dt          | d                    dt          | d                    d	          d S t          | t          j	                  s t          d
t          |            d          d S )NzlUsing `out` static graph CINN backend is currently not supported. Directly return the tensor tuple instead.
   z-Expected a list or tuple of two tensors, got z	 instead.r      z-Expected Tensor type in the tuple/list, got (z, z
) instead.zExpected a Tensor, got )
r   RuntimeError
isinstancetuplelistlen	TypeErrortypepaddler   )r   r   s     c/lsinfo/ai/hellotax_ai/data_center/backend/venv/lib/python3.11/site-packages/paddle/compat/utils.py_check_out_statusr      sI    { 
{
 
 	
  L#t}-- 	SQTS		TTT   s1vv}--	3q66=11	 hSVhhPTUXYZU[P\P\hhh  		 	 #v}-- 	LJd3iiJJJKKK	L 	L    )F)r   r   r   r	   )
__future__r   r   r   paddle.frameworkr   r    r   r   <module>r      s    # " " " " "             "L L L L L L Lr   