GitHub
  
  
    

Keson96/ResNet_LibTorch 3

A small example of using new PyTorch C++ frontend to implement ResNet - Keson96/ResNet_LibTorch


  
  
    
    
  
  


for(auto m: this->modules()){
if (m.value.name() == “torch::nn::Conv2dImpl”){
error: ‘class std::shared_ptrtorch::nn::Module’ has no member named ‘value’
how can i solve ? I would be happy if you help.