|
|
@ -122,7 +122,7 @@ class SameTypeShape(PrimitiveWithInfer):
|
|
|
|
Checks whether data type and shape of two tensors are the same.
|
|
|
|
Checks whether data type and shape of two tensors are the same.
|
|
|
|
|
|
|
|
|
|
|
|
Raises:
|
|
|
|
Raises:
|
|
|
|
ValueError: If not the same.
|
|
|
|
TypeError or ValueError: If not the same.
|
|
|
|
|
|
|
|
|
|
|
|
Inputs:
|
|
|
|
Inputs:
|
|
|
|
- **input_x** (Tensor) - The shape of tensor is :math:`(x_1, x_2, ..., x_R)`.
|
|
|
|
- **input_x** (Tensor) - The shape of tensor is :math:`(x_1, x_2, ..., x_R)`.
|
|
|
|