- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TF_CHECK_OK (0.04 sec)
-
tensorflow/c/c_api_test.cc
TEST(CAPI, MessageBufferConversion) { NodeDef node_in, node_out; node_in.set_name("Test name"); node_in.set_op("Test op"); TF_Buffer* buffer = TF_NewBuffer(); TF_CHECK_OK(MessageToBuffer(node_in, buffer)); TF_CHECK_OK(BufferToMessage(buffer, &node_out)); TF_DeleteBuffer(buffer); protobuf::util::MessageDifferencer differencer; EXPECT_TRUE(differencer.Compare(node_in, node_out)); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0)