Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for prepend (0.17 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

      int device_id = TFE_TensorHandleDeviceID(hcpu, status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      ASSERT_EQ(0, device_id) << device_id;
    
      // Disable the test if no GPU is present.
      string gpu_device_name;
      if (GetDeviceName(ctx, &gpu_device_name, "GPU")) {
        TFE_TensorHandle* hgpu = TFE_TensorHandleCopyToDevice(
            hcpu, ctx, gpu_device_name.c_str(), status.get());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  2. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

          # it, and print that list for debugging. Not really clear if this is
          # helpful since the only examples I've seen are enormous.
          bazel query "rdeps(kind(py_test, $(cat $BATS_TEST_TMPDIR/deps)), $dep, 1)"
        done < $BATS_TEST_TMPDIR/missing_deps
        exit 1
      fi
    }
    
    # The Python package is not allowed to depend on any CUDA packages.
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  3. tensorflow/c/BUILD

            ],
            "//conditions:default": [],
        }) + if_tensorrt([
            "//tensorflow/compiler/tf2tensorrt:trt_convert_api",
        ]),
    )
    
    # Check that c_api_no_xla does not depend on xla.
    check_deps(
        name = "c_api_no_xla_check_deps",
        disallowed_deps = ["//tensorflow/compiler/jit:xla_kernel_creator"],
        deps = [":c_api_no_xla"],
    )
    
    tf_cuda_library(
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      /// be accessed while holding the Block's mu lock. The data vector should only
      /// be accessed after state == FINISHED, and it should never be modified.
      ///
      /// In order to prevent deadlocks, never grab the block-cache-wide mu_ lock
      /// AFTER grabbing any block's mu lock. It is safe to grab mu without locking
      /// mu_.
      struct Block {
        /// The block data.
        std::vector<char> data;
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      auto gcs_file = static_cast<GCSFile*>(filesystem->plugin_filesystem);
      char* temp_file_name_c_str = TF_GetTempFileName("");
      std::string temp_file_name(temp_file_name_c_str);  // To prevent memory-leak
      free(temp_file_name_c_str);
    
      if (!gcs_file->compose) {
        auto gcs_status =
            gcs_file->gcs_client.DownloadToFile(bucket, object, temp_file_name);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  6. ci/official/utilities/code_check_full.bats

          # it, and print that list for debugging. Not really clear if this is
          # helpful since the only examples I've seen are enormous.
          bazel cquery "rdeps(kind(py_test, $(cat $BATS_TEST_TMPDIR/deps)), $dep, 1)"
        done < $BATS_TEST_TMPDIR/missing_deps
        exit 1
      fi
    }
    
    # The Python package is not allowed to depend on any CUDA packages.
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 06 21:54:13 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

          return;
        }
      } else if (S_ISDIR(st.st_mode)) {
        TF_SetStatus(status, TF_FAILED_PRECONDITION, "target path is a directory");
        return;
      }
    
      // We cannot rename directories yet, so prevent this.
      if (stat(src, &st) != 0) {
        TF_SetStatusFromIOError(status, errno, src);
        return;
      } else if (S_ISDIR(st.st_mode)) {
        TF_SetStatus(status, TF_FAILED_PRECONDITION, "source path is a directory");
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_experimental.h

    TF_ImportGraphDefOptionsSetValidateColocationConstraints(
        TF_ImportGraphDefOptions* opts, unsigned char enable);
    
    // Load the library specified by library_filename and register the pluggable
    // device and related kernels present in that library. This function is not
    // supported on embedded on mobile and embedded platforms and will fail if
    // called.
    //
    // Pass "library_filename" to a platform-specific mechanism for dynamically
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
Back to top