Skip to content

Commit 924ebfe

Browse files
peri044gs-olive
authored andcommitted
chore: Fix missing headers in tests
Signed-off-by: Dheeraj Peri <[email protected]>
1 parent a89d1b6 commit 924ebfe

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

tests/core/conversion/converters/test_masked_fill.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#include <torch/torch.h>
12
#include <string>
23
#include "core/compiler.h"
34
#include "core/lowering/passes/passes.h"

tests/core/conversion/converters/test_unpack.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#include "gtest/gtest.h"
55
#include "tests/util/util.h"
66
#include "torch/csrc/jit/ir/irparser.h"
7+
#include "torch/csrc/jit/passes/common_subexpression_elimination.h"
8+
#include "torch/torch.h"
79

810
TEST(Converters, UnpackVarLowersCorrectly) {
911
const auto graph = R"IR(

tests/core/conversion/converters/test_where.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#include <torch/torch.h>
12
#include <string>
23
#include "core/compiler.h"
34
#include "core/lowering/passes/passes.h"

0 commit comments

Comments
 (0)