Consider inheritance in type checking for tensors (#31378)
* Consider inheritance in type checking for tensors Add an additional check to bypass type assertion when both tensors are torch.Tensor instances. * Fix the quality issue
Showing
Please register or sign in to comment