\u200E
check_shape
-
paddle.
check_shape
(
shape,
op_name,
expected_shape_type=(<class 'list'>,
<class 'tuple'>,
<class 'paddle.base.framework.Variable'>),
expected_element_type=(<class 'int'>,
<class 'paddle.base.framework.Variable'>),
expected_tensor_dtype=('int32',
'int64')
)
[source]