Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 53 for Meleti (0.14 sec)

  1. tensorflow/c/eager/dlpack.cc

    }
    
    // Deleter for DLManagedTensor
    void DLManagedTensorDeleter(DLManagedTensor* arg) {
      TfDlManagedTensorCtx* owner =
          static_cast<TfDlManagedTensorCtx*>(arg->manager_ctx);
      owner->reference.Unref();
      delete owner;
    }
    
    // Converts TF_DATAType to DLPack data type.
    DLDataType GetDlDataType(TF_DataType data_type, TF_Status* status) {
      DLDataType dtype;
      dtype.lanes = 1;
      dtype.bits = TF_DataTypeSize(data_type) * 8;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/c/eager/c_api_experimental.cc

      tsl::Set_TF_Status_from_Status(status, result->counter->GetStatus());
      if (!result->counter->GetStatus().ok()) {
        delete result;
        return nullptr;
      }
      return result;
    }
    
    void TFE_MonitoringDeleteCounter0(TFE_MonitoringCounter0* counter) {
      delete counter;
    }
    
    TFE_MonitoringCounterCell* TFE_MonitoringGetCellCounter0(
        TFE_MonitoringCounter0* counter) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  4. tensorflow/c/experimental/filesystem/modular_filesystem.h

          read_only_memory_region_ops_;
      std::function<void*(size_t)> plugin_memory_allocate_;
      std::function<void(void*)> plugin_memory_free_;
      ModularFileSystem(const ModularFileSystem&) = delete;
      void operator=(const ModularFileSystem&) = delete;
    };
    
    class ModularRandomAccessFile final : public RandomAccessFile {
     public:
      ModularRandomAccessFile(const std::string& filename,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/next_pluggable_device/c_api.h

    // opaque pointer, since TensorFlow cannot parse it). `delete_func` is needed
    // for ResourceMgr to clean up the resource. `status` will be set.
    TF_CAPI_EXPORT extern void TF_CreatePluginResource(
        TF_OpKernelContext* ctx, const char* container_name,
        const char* plugin_resource_name, void* plugin_resource,
        void (*delete_func)(void*), TF_Status* status);
    
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

        if (!metadata) {
          TF_SetStatusFromGCSStatus(metadata.status(), status);
          return;
        }
        // We have to delete the temporary object after composing.
        auto delete_status = gcs_client->DeleteObject(bucket, temporary_object);
        if (!delete_status.ok()) {
          TF_SetStatusFromGCSStatus(delete_status, status);
          return;
        }
        // We truncate the data that are already uploaded.
        if (!outfile->truncate()) {
    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)
  7. ci/official/utilities/rename_and_verify_wheels.sh

    fi
    
    # Repair wheels with auditwheel and delete the old one.
    if [[ "$TFCI_WHL_AUDIT_ENABLE" == "1" ]]; then
      python3 -m auditwheel repair --plat "$TFCI_WHL_AUDIT_PLAT" --wheel-dir . *.whl
      # if the wheel is already named correctly, auditwheel won't rename it. so we
      # list all .whl files by their modification time (ls -t) and delete anything
      # other than the most recently-modified one (the new one).
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 21:16:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/gradients/tape/tape_context.cc

      // TODO(srbs): Make AbstractContext ref counted.
      // parent_ctx_->Ref();
    }
    void TapeContext::Release() {
      // TODO(srbs): Change to Unref()
      delete this;
    }
    TapeContext::~TapeContext() {
      // TODO(srbs): Make AbstractContext ref counted.
      // parent_ctx_->Unref();
    }
    TapeOperation* TapeContext::CreateOperation() {
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 23 23:12:39 GMT 2020
    - 1.7K bytes
    - Viewed (0)
  9. .github/workflows/sigbuild-docker-presubmit.yml

        strategy:
          matrix:
            python-version: [python3.9, python3.10, python3.11, python3.12]
        permissions:
          contents: read
          pull-requests: write
        steps:
          - name: Delete unnecessary tools folder
            run: |
              df -h
              rm -rf /opt/hostedtoolcache
              df -h
          -
            name: Checkout
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Oct 23 18:43:43 GMT 2023
    - 4K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_unified_experimental_graph.cc

    // GraphOperation wraps and populates a TF_OperationDescription.
    class GraphOperation : public TracingOperation {
     public:
      explicit GraphOperation(TF_Graph* g) : TracingOperation(kGraph), g_(g) {}
      void Release() override { delete this; }
      Status Reset(const char* op, const char* raw_device_name) override {
        if (op_) {
          return errors::FailedPrecondition("Reset called on already built op.");
        }
        if (raw_device_name) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
Back to top