Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for load_library (7.68 sec)

  1. tensorflow/c/c_api_test.cc

        // Load the library.
        TF_Status* status = TF_NewStatus();
        string lib_path = tensorflow::GetDataDependencyFilepath(
            tensorflow::io::JoinPath("tensorflow", "c", "test_op1.so"));
        TF_Library* lib = TF_LoadLibrary(lib_path.c_str(), status);
        TF_Code code = TF_GetCode(status);
        string status_msg(TF_Message(status));
        TF_DeleteStatus(status);
        ASSERT_EQ(TF_OK, code) << status_msg;
    
        // Test op list.
    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/c_api.cc

        target_oper_names[i] = c_target_oper_names[i];
      }
      TF_Run_Helper(s->session, handle, nullptr, input_pairs, output_names,
                    c_outputs, target_oper_names, nullptr, status);
    }
    
    TF_Library* TF_LoadLibrary(const char* library_filename, TF_Status* status) {
      TF_Library* lib_handle = new TF_Library;
      status->status = tensorflow::LoadDynamicLibrary(
          library_filename, &lib_handle->lib_handle, &lib_handle->op_list.data,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
Back to top