Home
last modified time | relevance | path

Searched refs:FunctionApiInfo (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/optimizers/
Dfunction_api_info.cc26 FunctionApiInfo::FunctionApiInfo() {} in FunctionApiInfo() function in tensorflow::grappler::FunctionApiInfo
27 FunctionApiInfo::~FunctionApiInfo() {} in ~FunctionApiInfo()
29 Status FunctionApiInfo::Init(const FunctionDef& function_def) { in Init()
30 function_type_ = FunctionApiInfo::FunctionType::INFERENCE; in Init()
39 function_type_ = FunctionApiInfo::FunctionType::BACKWARD; in Init()
43 function_type_ = FunctionApiInfo::FunctionType::FORWARD; in Init()
65 const string& FunctionApiInfo::preferred_device() const { in preferred_device()
69 const string& FunctionApiInfo::interface_name() const { in interface_name()
73 const FunctionApiInfo::FunctionType FunctionApiInfo::function_type() const { in function_type()
77 const string& FunctionApiInfo::pairing_function_name() const { in pairing_function_name()
[all …]
Dfunction_api_info.h31 class FunctionApiInfo {
33 FunctionApiInfo();
34 virtual ~FunctionApiInfo();
63 TF_DISALLOW_COPY_AND_ASSIGN(FunctionApiInfo);
82 const FunctionApiInfo* GetApiInfo(const string& function_name) const;
88 std::unordered_map<string, std::unique_ptr<FunctionApiInfo>> func_info_;
Dimplementation_selector.cc38 const FunctionApiInfo& apiInfo) { in UpdateNodeDef()
52 if (apiInfo.function_type() == FunctionApiInfo::BACKWARD) { in UpdateNodeDef()