Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 53 for DELETE (0.15 sec)

  1. tensorflow/c/eager/gradients.cc

          op_name, tape_tensors, input_ids, input_dtypes,
          [gradient_function]() -> GradientFunction* { return gradient_function; },
          [](GradientFunction* ptr) {
            if (ptr) {
              delete ptr;
            }
          });
    }
    bool Tape::ShouldRecord(
        absl::Span<const AbstractTensorHandle* const> tensors) const {
      std::vector<int64_t> tensor_ids(tensors.size());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

      ASSERT_EQ(TF_GetCode(status_), TF_OUT_OF_RANGE) << TF_Message(status_);
      ASSERT_TRUE(CompareSubString(content_view.length() - 2, 2, result, read));
    
      delete[] result;
      tf_random_access_file::Cleanup(file);
      delete file;
    }
    
    TEST_F(GCSFilesystemTest, WritableFile) {
      tf_gcs_filesystem::Init(filesystem_, status_);
      ASSERT_TF_OK(status_) << "Could not initialize filesystem. "
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

    namespace tensorflow {
    namespace parallel_device {
    namespace {
    
    class OpDeleter {
     public:
      void operator()(TFE_Op* to_delete) const { TFE_DeleteOp(to_delete); }
    };
    
    using OpPtr = std::unique_ptr<TFE_Op, OpDeleter>;
    
    class StatusDeleter {
     public:
      void operator()(TF_Status* to_delete) const { TF_DeleteStatus(to_delete); }
    };
    
    using StatusPtr = std::unique_ptr<TF_Status, StatusDeleter>;
    
    class ExecutorDeleter {
     public:
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  4. tensorflow/c/c_api_function_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      TF_GraphCopyFunction(host_graph_, func_, nullptr, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      // Delete the gradient func.
      // It is safe to delete after adding a copy to host graph.
      TF_DeleteFunction(grad_func);
    
      // Check that GraphDef did not change
      GraphDef gdef2;
      GetGraphDef(host_graph_, &gdef2);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  5. tensorflow/c/eager/c_api.cc

        TFE_ContextOptions* options, TFE_ContextDevicePlacementPolicy policy) {
      options->device_placement_policy = policy;
    }
    
    void TFE_DeleteContextOptions(TFE_ContextOptions* options) { delete options; }
    
    TFE_Context* TFE_NewContext(const TFE_ContextOptions* opts, TF_Status* status) {
      if (opts->use_tfrt) {
        status->status = tensorflow::errors::Unimplemented("TFRT is not supported");
        return nullptr;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  6. .github/workflows/sigbuild-docker-branch.yml

        runs-on: ubuntu-latest
        strategy:
          matrix:
            python-version: [python3.9, python3.10, python3.11, python3.12]
        steps:
          - name: Delete unnecessary tools folder
            run: rm -rf /opt/hostedtoolcache
          -
            name: Checkout
            uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
          -
            name: Set up Docker Buildx
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Oct 23 18:43:43 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  7. tensorflow/c/env.h

    // of these entries could not be deleted.
    //
    // Typical status codes:
    //  * TF_OK - dirname exists and we were able to delete everything underneath
    //  * TF_NOT_FOUND - dirname doesn't exist
    //  * TF_PERMISSION_DENIED - dirname or some descendant is not writable
    //  * TF_UNIMPLEMENTED - some underlying functions (like Delete) are not
    //    implemented
    TF_CAPI_EXPORT extern void TF_DeleteRecursively(const char* dirname,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  8. ci/official/upload.sh

    # contents. About arguments to gsutil:
    # "gsutil -m rsync" runs in parallel.
    # "gsutil rsync -r" is recursive and makes directories work.
    # "gsutil rsync -d" is "sync and delete files from destination if not present in source"
    
    DOWNLOADS="$(mktemp -d)"
    mkdir -p "$DOWNLOADS"
    gsutil -m rsync -r "$TFCI_ARTIFACT_STAGING_GCS_URI" "$DOWNLOADS"
    ls "$DOWNLOADS"
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 24 20:52:12 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. RELEASE.md

            *   Compared to `tf.lookup.experimental.DenseHashTable` this offers
                lower overall memory usage, and a cleaner API. It does not require
                specifying a `delete_key` and `empty_key` that cannot be inserted
                into the table.
        *   Added support for specifying number of subdivisions in all reduce host
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  10. tensorflow/c/eager/parallel_device/parallel_device_lib.h

            TF_NewTensor(
                datatype_enum, /*dims=*/nullptr, /*num_dims=*/0,
                device_value.release(), sizeof(DataType),
                [](void* data, size_t, void* arg) {
                  delete reinterpret_cast<DataType*>(data);
                },
                nullptr),
            TF_DeleteTensor);
        // TODO(allenl): Here and when executing regular operations, we could hold
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
Back to top