- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for AnnotateEagerRuntimeConstructionContext (0.24 seconds)
-
tensorflow/c/eager/c_api.cc
string DeviceName(const tensorflow::Device* d) { return (d == nullptr) ? "cpu:0" : d->name(); } // Annotate eager runtime construction context to the given `function_def` as // an attribute. void AnnotateEagerRuntimeConstructionContext( tensorflow::FunctionDef& function_def) { tensorflow::AttrValue value; SetAttrValue("kEagerRuntime", &value); (*function_def.mutable_attr())["_construction_context"] = value; }
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Nov 07 05:55:21 GMT 2025 - 43.9K bytes - Click Count (0)