Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TF_ASSERT_OK (0.14 sec)

  1. tensorflow/c/c_api_test.cc

      TF_Graph* graph = TF_NewGraph();
      TF_Buffer* buffer = TF_NewBuffer();
    
      TF_GraphGetOpDef(graph, "Add", buffer, status);
      ASSERT_EQ(TF_OK, TF_GetCode(status));
      const OpDef* expected_op_def;
      TF_ASSERT_OK(OpRegistry::Global()->LookUpOpDef("Add", &expected_op_def));
      string expected_serialized;
      expected_op_def->SerializeToString(&expected_serialized);
      string actual_string(reinterpret_cast<const char*>(buffer->data),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top