mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Revert "[7/N] Fix Wextra-semi warning (#140225)"
This reverts commit ffb979032dc149b4c895526fe5b92d713ed7b1e1. Reverted https://github.com/pytorch/pytorch/pull/140225 on behalf of https://github.com/kit1980 due to breaking internal builds ([comment](https://github.com/pytorch/pytorch/pull/140225#issuecomment-2469312229))
This commit is contained in:
@ -18,7 +18,7 @@
|
||||
|
||||
namespace at {
|
||||
struct Quantizer;
|
||||
}
|
||||
};
|
||||
|
||||
namespace torch { namespace autograd {
|
||||
|
||||
@ -54,6 +54,6 @@ namespace VariableType {
|
||||
const at::Tensor & unpack(const Tensor & t, const char * name, int pos);
|
||||
at::Tensor unpack_opt(const Tensor & t, const char * name, int pos);
|
||||
std::vector<at::Tensor> unpack(const at::ITensorListRef& tl, const char *name, int pos);
|
||||
}
|
||||
};
|
||||
|
||||
}} // namespace torch::autograd
|
||||
|
Reference in New Issue
Block a user