You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Makes the given KJT dynamic. If it's not variable length, it will only have
@@ -203,9 +201,9 @@ def mark_dynamic_kjt(
203
201
kjt (KeyedJaggedTensor): The KJT to make dynamic.
204
202
shapes_collection (Optional[ShapesCollection]): The collection to update.
205
203
variable_length (bool): Whether the KJT is variable length.
206
-
vlen (Optional[DIM]): The dynamic length for the values. If it's None, it will use the default name "vlen".
207
-
llen (Optional[DIM]): The dynamic length for the lengths, it's only used when variable_length is true. If it's None, it will use the default name "llen".
208
-
batch_size (Optional[DIM]): The dynamic length for the batch_size, it's only used when variable_length and mark_batch_size are both true.
204
+
vlen (Optional[Dim]): The dynamic length for the values. If it's None, it will use the default name "vlen".
205
+
llen (Optional[Dim]): The dynamic length for the lengths, it's only used when variable_length is true. If it's None, it will use the default name "llen".
206
+
batch_size (Optional[Dim]): The dynamic length for the batch_size, it's only used when variable_length and mark_batch_size are both true.
0 commit comments