diff options
author | Alexandr Morev <hikjik@yandex.ru> | 2019-03-20 11:12:55 -0700 |
---|---|---|
committer | Facebook Github Bot <facebook-github-bot@users.noreply.github.com> | 2019-03-20 11:16:36 -0700 |
commit | abc171bd53ee00caa3ab638b770316583a0c6c5f (patch) | |
tree | 2f060ac7f5ab8e0e2ac0a76ecd1e7be60208768e /torch/onnx | |
parent | a519217ee72bdef12b5d133b7e941d92d6ccd3cf (diff) | |
download | pytorch-abc171bd53ee00caa3ab638b770316583a0c6c5f.tar.gz pytorch-abc171bd53ee00caa3ab638b770316583a0c6c5f.tar.bz2 pytorch-abc171bd53ee00caa3ab638b770316583a0c6c5f.zip |
Fix typo in docstring
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/18216
Differential Revision: D14539824
Pulled By: ezyang
fbshipit-source-id: 490b72951a75f3f8b949a2d692d660a3693ee98a
Diffstat (limited to 'torch/onnx')
-rw-r--r-- | torch/onnx/symbolic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/torch/onnx/symbolic.py b/torch/onnx/symbolic.py index b4ed832e34..46150c3d0c 100644 --- a/torch/onnx/symbolic.py +++ b/torch/onnx/symbolic.py @@ -1606,7 +1606,7 @@ def _pack_padded_sequence(g, input, lengths, batch_first): if not lengths.type().isSubtypeOf(torch._C.TensorType.get()): raise RuntimeError("Lengths must be a Tensor for ONNX export") # We know it's a TensorType so this check is now safe. - # It's really only necessary beacuse those operators expand to something that + # It's really only necessary because those operators expand to something that # only works with int32 types in Caffe2... if lengths.type().scalarType() != 'Int': lengths = _cast_Int(g, lengths, False) |