Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1962cf8

Browse files
committed
chore: minor linting
1 parente359059 commit1962cf8

File tree

1 file changed

+3
-2
lines changed
  • py/torch_tensorrt/dynamo/conversion/impl/normalization

1 file changed

+3
-2
lines changed

‎py/torch_tensorrt/dynamo/conversion/impl/normalization/ops.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,8 +551,9 @@ def cdist_forward(
551551
- For x1.shape = [10, 5] (10 vectors, each of 5 features) and x2.shape = [20, 5] (20 vectors, each of 5 features),
552552
since there are no batch dimensions to match, the output shape is simply [10, 20], comparing all vectors from x1 against all vectors from x2.
553553
554-
Note: The `compute_mode` parameter is designed to optimize the performance of the Euclidean distance calculation, especially useful when working with large datasets.
555-
This parameter allows you to control how the distances are computed, with different modes available to leverage matrix multiplication for speed improvements.
554+
Note: The `compute_mode` parameter is designed to optimize the performance of the Euclidean distance calculation,
555+
especially useful when working with large datasets. This parameter allows you to control how the distances are computed,
556+
with different modes available to leverage matrix multiplication for speed improvements.
556557
"""
557558
ifcompute_modeisNone:
558559
compute_mode=0

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp