- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for TF_FunctionImportFunctionDef (0.1 seconds)
-
tensorflow/c/c_api_function_test.cc
char proto[] = {0x0, 0x0, 0x0, 0x0}; func_ = TF_FunctionImportFunctionDef(proto, 4, s_); EXPECT_TRUE(func_ == nullptr); EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)); EXPECT_EQ( std::string("Invalid FunctionDef given to TF_FunctionImportFunctionDef"), std::string(TF_Message(s_))); } TEST_F(CApiFunctionTest, Attribute) {
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 63.9K bytes - Click Count (1) -
tensorflow/c/c_api.h
// Returns: // On success, a newly created TF_Function instance. It must be deleted by // calling TF_DeleteFunction. // // On failure, null. TF_CAPI_EXPORT extern TF_Function* TF_FunctionImportFunctionDef( const void* proto, size_t proto_len, TF_Status* status); // Sets function attribute named `attr_name` to value stored in `proto`. // If this attribute is already set to another value, it is overridden.Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Click Count (0)