Tensor Comprehensions
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
tc::OptionsCache::CachedEntry::Key Struct Reference

#include <compilation_cache.h>

Collaboration diagram for tc::OptionsCache::CachedEntry::Key:

Public Member Functions

 Key (const std::string &id, const std::vector< const DLTensor * > &inputs, const std::vector< const DLTensor * > &outputs, const std::string &deviceStr, const std::string &gitVersion)
 
 Key (const std::string &id, std::vector< detail::TensorInfo > &&inputs, std::vector< detail::TensorInfo > &&outputs, const std::string &deviceStr, const std::string &gitVersion)
 

Public Attributes

std::string id
 
std::vector< detail::TensorInfoinputs
 
std::vector< detail::TensorInfooutputs
 
std::string deviceStr
 
std::string gitVersion
 

Constructor & Destructor Documentation

tc::OptionsCache::CachedEntry::Key::Key ( const std::string &  id,
const std::vector< const DLTensor * > &  inputs,
const std::vector< const DLTensor * > &  outputs,
const std::string &  deviceStr,
const std::string &  gitVersion 
)
tc::OptionsCache::CachedEntry::Key::Key ( const std::string &  id,
std::vector< detail::TensorInfo > &&  inputs,
std::vector< detail::TensorInfo > &&  outputs,
const std::string &  deviceStr,
const std::string &  gitVersion 
)

Member Data Documentation

std::string tc::OptionsCache::CachedEntry::Key::deviceStr
std::string tc::OptionsCache::CachedEntry::Key::gitVersion
std::string tc::OptionsCache::CachedEntry::Key::id
std::vector<detail::TensorInfo> tc::OptionsCache::CachedEntry::Key::inputs
std::vector<detail::TensorInfo> tc::OptionsCache::CachedEntry::Key::outputs

The documentation for this struct was generated from the following file: