- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for TFE_OpSetAttrString (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tensorflow/c/eager/custom_device_test.cc
ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); TFE_OpSetAttrType(op.get(), "dtype", TF_FLOAT); TFE_OpSetAttrShape(op.get(), "shape", {}, 0, status.get()); TFE_OpSetAttrString(op.get(), "container", "", 0); TFE_OpSetAttrString(op.get(), "shared_name", "", 0); TFE_OpSetDevice(op.get(), name, status.get()); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Aug 27 23:39:24 GMT 2020 - 18.4K bytes - Click Count (0) -
tensorflow/c/eager/c_api.cc
ret = TFE_OpGetAttrType(op, attr_name, is_list, status); } else { ret = TF_ATTR_INT; // Same dummy return as TFE_OpGetAttrType. } TFE_DeleteOp(op); return ret; } void TFE_OpSetAttrString(TFE_Op* op, const char* attr_name, const void* value, size_t length) { auto s = tensorflow::unwrap(op)->SetAttrString( attr_name, static_cast<const char*>(value), length);
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) -
tensorflow/c/eager/c_api.h
TF_CAPI_EXPORT extern TF_AttrType TFE_OpNameGetAttrType( TFE_Context* ctx, const char* op_or_function_name, const char* attr_name, unsigned char* is_list, TF_Status* status); TF_CAPI_EXPORT extern void TFE_OpSetAttrString(TFE_Op* op, const char* attr_name, const void* value, size_t length);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Click Count (0)