/usr/local/lib64/python3.6/site-packages/torch/include/torch/csrc/autograd
Edit: /usr/local/lib64/python3.6/site-packages/torch/include/torch/csrc/autograd/profiler_utils.h (439B)
#pragma once
#include
#include
#include
#include
namespace torch { namespace autograd {
namespace profiler {
std::unordered_map TORCH_API saveExtraArgs(const at::RecordFunction& fn);
uint64_t TORCH_API computeFlops(const std::string &op_name,
const std::unordered_map &extra_args);
}}}