Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for op_def (0.14 sec)

  1. tensorflow/c/c_api_test.cc

      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),
                           buffer->length);
    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)
  2. tensorflow/c/eager/c_api_test.cc

      TFE_OpAddInput(concatOp, dim, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      CHECK(tensorflow::unwrap(concatOp)->OpDef());
      TFE_OpAddInput(concatOp, inputs[0], status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      EXPECT_FALSE(tensorflow::unwrap(concatOp)->OpDef())
          << "Inference context is still present";
      TFE_OpAddInput(concatOp, inputs[1], status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
Back to top