Skip to content

Commit de731af

Browse files
swolchokfacebook-github-bot
authored andcommitted
Preparatory fixes & lint suppressions for c10::optional->std::optional (#2138)
Summary: X-link: pytorch/executorch#1226 Pull Request resolved: #2138 Landing non-PyTorch portions first; then the PyTorch portions of pytorch/pytorch#101995 will land to Github. Reviewed By: malfet Differential Revision: D51355841 fbshipit-source-id: 4eed885733189f21e342613431b637de72979cb4
1 parent e62a5e2 commit de731af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fbgemm_gpu/src/sparse_ops/sparse_ops_cpu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Tensor pack_segments_autograd(
128128
Tensor native_empty_like(const Tensor& self) {
129129
return at::native::empty_like(
130130
self,
131-
optTypeMetaToScalarType(self.options().dtype_opt()),
131+
c10::optTypeMetaToScalarType(self.options().dtype_opt()),
132132
self.options().layout_opt(),
133133
self.options().device_opt(),
134134
self.options().pinned_memory_opt(),

0 commit comments

Comments
 (0)