Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 4shared (0.21 sec)

  1. tensorflow/c/eager/c_api_test_util.cc

      TFE_OpSetAttrType(op, "dtype", TF_FLOAT);
      TFE_OpSetAttrShape(op, "shape", {}, 0, status);
      TFE_OpSetAttrString(op, "container", "localhost", 0);
      TFE_OpSetAttrString(op, "shared_name", "", 0);
      if (!device_name.empty()) {
        TFE_OpSetDevice(op, device_name.c_str(), status);
      }
      if (TF_GetCode(status) != TF_OK) return nullptr;
      TFE_TensorHandle* var_handle = nullptr;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
  2. tensorflow/c/c_api_test.cc

    TEST(CAPI, LibraryLoadFunctions) {
      // TODO(b/73318067): Fix linking for the GPU test generated by the
      // tf_cuda_cc_test() bazel rule and remove the next line.
      if (!GPUDeviceName().empty()) return;
    
    #if !defined(TENSORFLOW_NO_SHARED_OBJECTS)
      {
        // Load the library.
        TF_Status* status = TF_NewStatus();
        string lib_path = tensorflow::GetDataDependencyFilepath(
            tensorflow::io::JoinPath("tensorflow", "c", "test_op1.so"));
    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