Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Ge (0.15 sec)

  1. tensorflow/c/eager/c_api_test.cc

      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      TFE_DeleteContext(ctx);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      const int num_devices = TF_DeviceListCount(devices);
      EXPECT_GE(num_devices, 1) << "At least one CPU device should exist";
      for (int i = 0; i < num_devices; ++i) {
        EXPECT_NE("", TF_DeviceListName(devices, i, status)) << i;
        EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(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)
  2. tensorflow/c/c_api_test.cc

    #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);
        ASSERT_GE(op_list.op_size(), 1);
        typedef tensorflow::protobuf::RepeatedPtrField<tensorflow::OpDef> OpDefs;
        const OpDefs& ops = op_list.op();
        bool found = std::find_if(ops.begin(), ops.end(),
    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