Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

neilisaac / torch   python

Repository URL to install this package:

Version: 1.8.0 

/ include / torch / csrc / autograd / profiler_utils.h

#pragma once

#include <string>
#include <unordered_map>
#include <ATen/ATen.h>
#include <ATen/record_function.h>

namespace torch { namespace autograd {
namespace profiler {

std::unordered_map<std::string, c10::IValue> TORCH_API saveExtraArgs(const at::RecordFunction& fn);

uint64_t TORCH_API computeFlops(const std::string &op_name,
                                const std::unordered_map<std::string, c10::IValue> &extra_args);

}}}