Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for owner (0.18 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

      // Notifies a StartExecute that the previous Join has finished.
      tensorflow::condition_variable finished_join_;
    
      // Temporary state between `StartExecute` and `Join`.
      //
      //   Inputs; pointers are to objects not owned by the DeviceThread, but which
      //   are expected to live at least until `Join` finishes:
      TFE_Context* context_ TF_GUARDED_BY(execution_mutex_);
      const char* operation_name_ TF_GUARDED_BY(execution_mutex_);
    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)
  2. tensorflow/c/c_api_experimental.cc

      if (input_arg.number_attr().empty()) {
        status->status = tensorflow::errors::NotFound(
            op_name, " does not have number_attr() defined.");
        return nullptr;
      }
    
      // The returned string is owned by OpRegistry, so liveness is not a concern.
      return input_arg.number_attr().c_str();
    }
    
    int TF_OpIsStateful(const char* op_type, TF_Status* status) {
      const tensorflow::OpRegistrationData* op_reg_data;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/dlpack.cc

        return nullptr;
      }
      return tensor;
    }
    
    // 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;
    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)
  4. tensorflow/c/checkpoint_reader.cc

        string key(v2_reader_->key());
        (*var_to_shape_map)[key] = TensorShape(entry.shape());
        (*var_to_data_type_map)[key] = DataType(entry.dtype());
      }
      // The returned pointers are owned by the caller.
      return std::make_pair(std::move(var_to_shape_map),
                            std::move(var_to_data_type_map));
    }
    
    }  // namespace checkpoint
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api.cc

          opts->session_options.options,
          static_cast<tensorflow::ContextDevicePlacementPolicy>(
              opts->device_placement_policy),
          opts->async, device_mgr.release(),
          /*device_mgr_owned*/ true, std::move(r),
          /*cluster_flr=*/nullptr,
          /*collective_executor_mgr=*/nullptr,
          /*run_eager_op_as_function=*/opts->run_eager_op_as_function,
          /*jit_compile_rewrite=*/opts->jit_compile_rewrite);
    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. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

    namespace tf_writable_file {
    typedef struct GCSFile {
      const std::string bucket;
      const std::string object;
      gcs::Client* gcs_client;  // not owned
      TempFile outfile;
      bool sync_need;
      // `offset` tells us how many bytes of this file are already uploaded to
      // server. If `offset == -1`, we always upload the entire temporary file.
      int64_t offset;
    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)
Back to top