We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29b4c11 commit 36dcd2cCopy full SHA for 36dcd2c
1 file changed
demos/video/style-transfer/style_transfer.cpp
@@ -89,7 +89,8 @@ torch::indexing::Slice slice() {
89
}
90
91
torch::Tensor test_channel(torch::Tensor& input) {
92
- std::cout << "Input sizes: " << input.sizes() << std::endl;
+ std::cout << "Input device: " << input.device() << std::endl;
93
+
94
int channel_to_disable = 0;
95
// auto img = input.select(1, channel_to_disable).zero();
96
auto output = input.clone();
0 commit comments