- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ParseFromArray (0.1 sec)
-
tensorflow/c/c_api_test.cc
EXPECT_TRUE(op_list.ParseFromArray(op_list_buf.data, op_list_buf.length)); ASSERT_EQ(op_list.op_size(), 1); EXPECT_EQ("TestCApi1", op_list.op(0).name()); TF_DeleteLibraryHandle(lib); } #endif // !defined(TENSORFLOW_NO_SHARED_OBJECTS) { TF_Buffer* op_list_buffer = TF_GetAllOpList(); tensorflow::OpList op_list; op_list.ParseFromArray(op_list_buffer->data, op_list_buffer->length);
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_function_test.cc
} void GetAttr(const char* attr_name, AttrValue* out_attr) { TF_Buffer* attr_buf = TF_NewBuffer(); TF_FunctionGetAttrValueProto(func_, attr_name, attr_buf, s_); ASSERT_TRUE(out_attr->ParseFromArray(attr_buf->data, attr_buf->length)); TF_DeleteBuffer(attr_buf); } const char* func_name_ = "MyFunc"; const char* func_node_name_ = "MyFunc_0"; TF_Status* s_; TF_Graph* func_graph_;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
TFE_OpAttrsSerialize(attributes, serialized_attr_values, status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); tensorflow::NameAttrList name_and_attrs; ASSERT_TRUE(name_and_attrs.ParseFromArray(serialized_attr_values->data, serialized_attr_values->length)); ASSERT_EQ("VarHandleOp", name_and_attrs.name()); ASSERT_EQ(tensorflow::DT_INT64,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 20:50:20 UTC 2023 - 94.6K bytes - Viewed (0)