- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TF_NewAttrBuilder (0.06 sec)
-
tensorflow/c/c_api_experimental.h
// TF_NewAttrBuilder() returns an object that you can set attributes on as // though it were an op. This allows querying properties of that op for // type-checking purposes like if the op will run on a particular device type. typedef struct TF_AttrBuilder TF_AttrBuilder; TF_CAPI_EXPORT extern TF_AttrBuilder* TF_NewAttrBuilder(const char* op_name);
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 15.1K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
// `builder->Set()` will outlive the subsequent // `TF_AttrBuilderCheckCanRunOnDevice()` call(s) on the same `builder`. std::set<std::string> attr_names; }; TF_AttrBuilder* TF_NewAttrBuilder(const char* op_name) { return new TF_AttrBuilder(op_name); } void TF_DeleteAttrBuilder(TF_AttrBuilder* builder) { delete builder; } void TF_AttrBuilderSetType(TF_AttrBuilder* builder, const char* attr_name,
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Aug 18 03:53:25 UTC 2025 - 29.5K bytes - Viewed (0)