We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf05317 commit 149df1dCopy full SHA for 149df1d
tests/core/conversion/converters/test_unary.cpp
@@ -22,8 +22,9 @@ std::string gen_test_graph(const std::string& unary) {
22
torch::jit::parseIR(graph, &*g); \
23
\
24
float offset = 0; \
25
- if (strcmp(#name, "Acosh") == 0) offset += 1; /*input larger than 1 for acosh*/ \
26
- auto in = at::empty({10}, {at::kCUDA}).uniform_(0+offset, 0.5+offset); \
+ if (strcmp(#name, "Acosh") == 0) \
+ offset += 1; /*input larger than 1 for acosh*/ \
27
+ auto in = at::empty({10}, {at::kCUDA}).uniform_(0 + offset, 0.5 + offset); \
28
auto params = trtorch::core::conversion::get_named_params(g->inputs(), {}); \
29
auto jit_results = trtorch::tests::util::RunGraph(g, params, {in}); \
30
0 commit comments