Skip to content

Commit

Permalink
fixed syntax error in example in docstring
Browse files Browse the repository at this point in the history
Signed-off-by: Minura Punchihewa <[email protected]>
  • Loading branch information
MinuraPunchihewa committed Nov 27, 2024
1 parent 4b03df0 commit 3e9709b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class SafetensorsDataset(AbstractVersionedDataset[Any, Any]):
>>> from kedro_datasets_experimental.safetensors import SafetensorsDataset
>>> import torch
>>>
>>> data = {"embeddings": torch.zeros((10, 100)}
>>> data = {"embeddings": torch.zeros((10, 100))}
>>> dataset = SafetensorsDataset(
... filepath="test.safetensors",
... backend="torch"
Expand Down

0 comments on commit 3e9709b

Please sign in to comment.