@@ -98,7 +98,7 @@ def between_two_vectors_3d(vector1: type_alias.TensorLike,
9898 Raises:
9999 ValueError: If the shape of `vector1` or `vector2` is not supported.
100100 """
101- with tf .name_scope (name ): # pyrefly: ignore[bad-instantiation]
101+ with tf .name_scope (name ):
102102 vector1 = tf .convert_to_tensor (value = vector1 )
103103 vector2 = tf .convert_to_tensor (value = vector2 )
104104
@@ -154,7 +154,7 @@ def conjugate(quaternion: type_alias.TensorLike,
154154 Raises:
155155 ValueError: If the shape of `quaternion` is not supported.
156156 """
157- with tf .name_scope (name ): # pyrefly: ignore[bad-instantiation]
157+ with tf .name_scope (name ):
158158 quaternion = tf .convert_to_tensor (value = quaternion )
159159
160160 shape .check_static (
@@ -187,7 +187,7 @@ def from_axis_angle(axis: type_alias.TensorLike,
187187 Raises:
188188 ValueError: If the shape of `axis` or `angle` is not supported.
189189 """
190- with tf .name_scope (name ): # pyrefly: ignore[bad-instantiation]
190+ with tf .name_scope (name ):
191191 axis = tf .convert_to_tensor (value = axis )
192192 angle = tf .convert_to_tensor (value = angle )
193193
@@ -229,7 +229,7 @@ def from_euler(angles: type_alias.TensorLike,
229229 Raises:
230230 ValueError: If the shape of `angles` is not supported.
231231 """
232- with tf .name_scope (name ): # pyrefly: ignore[bad-instantiation]
232+ with tf .name_scope (name ):
233233 angles = tf .convert_to_tensor (value = angles )
234234
235235 shape .check_static (
@@ -272,7 +272,7 @@ def from_euler_with_small_angles_approximation(
272272 Raises:
273273 ValueError: If the shape of `angles` is not supported.
274274 """
275- with tf .name_scope (name ): # pyrefly: ignore[bad-instantiation]
275+ with tf .name_scope (name ):
276276 angles = tf .convert_to_tensor (value = angles )
277277
278278 shape .check_static (
@@ -310,7 +310,7 @@ def from_rotation_matrix(rotation_matrix: type_alias.TensorLike,
310310 Raises:
311311 ValueError: If the shape of `rotation_matrix` is not supported.
312312 """
313- with tf .name_scope (name ): # pyrefly: ignore[bad-instantiation]
313+ with tf .name_scope (name ):
314314 rotation_matrix = tf .convert_to_tensor (value = rotation_matrix )
315315
316316 shape .check_static (
@@ -395,7 +395,7 @@ def inverse(quaternion: type_alias.TensorLike,
395395 Raises:
396396 ValueError: If the shape of `quaternion` is not supported.
397397 """
398- with tf .name_scope (name ): # pyrefly: ignore[bad-instantiation]
398+ with tf .name_scope (name ):
399399 quaternion = tf .convert_to_tensor (value = quaternion )
400400
401401 shape .check_static (
@@ -429,7 +429,7 @@ def is_normalized(quaternion: type_alias.TensorLike,
429429 Raises:
430430 ValueError: If the shape of `quaternion` is not supported.
431431 """
432- with tf .name_scope (name ): # pyrefly: ignore[bad-instantiation]
432+ with tf .name_scope (name ):
433433 quaternion = tf .convert_to_tensor (value = quaternion )
434434
435435 shape .check_static (
@@ -463,7 +463,7 @@ def normalize(quaternion: type_alias.TensorLike,
463463 Raises:
464464 ValueError: If the shape of `quaternion` is not supported.
465465 """
466- with tf .name_scope (name ): # pyrefly: ignore[bad-instantiation]
466+ with tf .name_scope (name ):
467467 quaternion = tf .convert_to_tensor (value = quaternion )
468468
469469 shape .check_static (
@@ -494,7 +494,7 @@ def multiply(quaternion1: type_alias.TensorLike,
494494 Raises:
495495 ValueError: If the shape of `quaternion1` or `quaternion2` is not supported.
496496 """
497- with tf .name_scope (name ): # pyrefly: ignore[bad-instantiation]
497+ with tf .name_scope (name ):
498498 quaternion1 = tf .convert_to_tensor (value = quaternion1 )
499499 quaternion2 = tf .convert_to_tensor (value = quaternion2 )
500500
@@ -526,7 +526,7 @@ def normalized_random_uniform(quaternion_shape: List[int],
526526 A tensor of shape `[quaternion_shape[0],...,quaternion_shape[-1], 4]`
527527 representing random normalized quaternions.
528528 """
529- with tf .name_scope (name ): # pyrefly: ignore[bad-instantiation]
529+ with tf .name_scope (name ):
530530 quaternion_shape = tf .convert_to_tensor (
531531 value = quaternion_shape , dtype = tf .int32 )
532532 quaternion_shape = tf .concat ((quaternion_shape , tf .constant ([4 ])), axis = 0 )
@@ -594,7 +594,7 @@ def rotate(point: type_alias.TensorLike,
594594 Raises:
595595 ValueError: If the shape of `point` or `quaternion` is not supported.
596596 """
597- with tf .name_scope (name ): # pyrefly: ignore[bad-instantiation]
597+ with tf .name_scope (name ):
598598 point = tf .convert_to_tensor (value = point )
599599 quaternion = tf .convert_to_tensor (value = quaternion )
600600
@@ -642,7 +642,7 @@ def relative_angle(quaternion1: type_alias.TensorLike,
642642 Raises:
643643 ValueError: If the shape of `quaternion1` or `quaternion2` is not supported.
644644 """
645- with tf .name_scope (name ): # pyrefly: ignore[bad-instantiation]
645+ with tf .name_scope (name ):
646646 quaternion1 = tf .convert_to_tensor (value = quaternion1 )
647647 quaternion2 = tf .convert_to_tensor (value = quaternion2 )
648648
0 commit comments