- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TF_CHECK_OK (0.12 sec)
-
tensorflow/c/c_api_experimental.cc
// a different TFE context for each thread of execution (for running graph // functions, and their send/recvs corountines). config.set_inter_op_parallelism_threads(1); TF_Buffer* ret = TF_NewBuffer(); TF_CHECK_OK(MessageToBuffer(config, ret)); return ret; } TF_Buffer* TF_CreateRunOptions(unsigned char enable_full_trace) { tensorflow::RunOptions options; if (enable_full_trace) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 29.5K bytes - Viewed (0) -
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) -
tensorflow/c/c_api.cc
tensorflow::OpRegistry::Global()->GetRegisteredOps(&op_defs); tensorflow::OpList op_list; for (const auto& op : op_defs) { *(op_list.add_op()) = op; } TF_Buffer* ret = TF_NewBuffer(); TF_CHECK_OK(MessageToBuffer(op_list, ret)); return ret; } // -------------------------------------------------------------------------- // ListDevices & SessionListDevices API
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0)