How do I specify torch::nn::Upsample scale_factor? #27620
-
Check these boxes if you have followed the posting rules.
QuestionI am tryting to specify an Upsample module in a
but none of them compile. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello seems more of a torch question than a moose one. Guillaume |
Beta Was this translation helpful? Give feedback.
I found the answer in pytorch cppdocs
torch::nn::Upsample(torch::nn::UpsampleOptions().scale_factor(std::vector<double>({2}))),