- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for delete (0.18 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h
return; } absl::MutexLock lock(&mu_); InsertLocked(key, value); } // Delete the entry with key `key`. Return true if the entry was found for // `key`, false if the entry was not found. In both cases, there is no entry // with key `key` existed after the call. bool Delete(const std::string& key) { absl::MutexLock lock(&mu_); return DeleteLocked(key); }
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 6.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
void (*execute)(const TFE_Op* op, int* num_outputs, TFE_TensorHandle** outputs, TF_Status* s, void* device_info); // Method to delete a device. void (*delete_device)(void* device_info); // Implements TFE_CreatePackedTensorHandle when one of `handles` is on this // custom device. // // Many devices will want to simply return an "unimplemented" status
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0) -
tensorflow/c/env.h
TF_CAPI_EXPORT extern void TF_CreateDir(const char* dirname, TF_Status* status); // Deletes the specified directory. Typical status codes are: // * TF_OK - successfully deleted the directory // * TF_FAILED_PRECONDITION - the directory is not empty TF_CAPI_EXPORT extern void TF_DeleteDir(const char* dirname, TF_Status* status); // Deletes the specified directory and all subdirectories and files underneath
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) -
src/cmd/cgo/internal/swig/testdata/callback/main.h
virtual std::string run() { return "Callback::run"; } }; class Caller { private: Callback *callback_; public: Caller(): callback_(0) { } ~Caller() { delCallback(); } void delCallback() { delete callback_; callback_ = 0; } void setCallback(Callback *cb) { delCallback(); callback_ = cb; } std::string call();
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 529 bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
delete reinterpret_cast<DataType*>(data); }, nullptr), TF_DeleteTensor); // TODO(allenl): Here and when executing regular operations, we could hold // on to one TFE_Op per device and just call TFE_ResetOp to avoid parsing // device names repeatedly. std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> const_op(
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) -
tensorflow/c/eager/tape.h
if (op_id == -1) { // Do not delete watched tensors. return; } tensor_tape_.erase(tensor_op_it); auto op_it = op_tape_.find(op_id); CHECK(op_it != op_tape_.end()); for (const auto& output : op_it->second.output_tensor_info) { if (tensor_usage_.find(output.GetID()) != tensor_usage_.end()) { // Found a usage for an output, so cannot delete the op. return; } }
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1) -
tensorflow/c/c_api.h
// Destroy an options object. Graph will be deleted once no more // TFSession's are referencing it. TF_CAPI_EXPORT extern void TF_DeleteGraph(TF_Graph*); // Operation being built. The underlying graph must outlive this. typedef struct TF_OperationDescription TF_OperationDescription; // Operation that has been added to the graph. Valid until the graph is // deleted -- in particular adding a new operation to the graph does not
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/eager/tfe_op_internal.h
// // WARNING: Since the underlying object could be ref-counted a user of this // interface cannot destruct the underlying operation object. Instead, call // TFE_DeleteOp who calls Release() on the operation pointer and deletes // the TFE_Op structure. typedef struct TFE_Op TFE_Op; namespace tensorflow { DEFINE_CONVERSION_FUNCTIONS(tensorflow::ImmediateExecutionOperation, TFE_Op);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jun 17 19:39:13 GMT 2020 - 1.4K bytes - Viewed (0) -
tensorflow/c/eager/tfe_tensorhandle_internal.h
// // WARNING: Since the underlying object could be ref-counted a user of this // interface cannot destruct the underlying handle object. Instead, call // TFE_DeleteTensorHandle who calls Release() on the handle pointer and deletes // the TFE_TensorHandle structure. typedef struct TFE_TensorHandle TFE_TensorHandle; namespace tensorflow { DEFINE_CONVERSION_FUNCTIONS(tensorflow::ImmediateExecutionTensorHandle,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jun 17 19:39:13 GMT 2020 - 1.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.h
TF_Status* s); // Creates a new TF_AbstractFunction from the current tracing states in the // context. The provided `ctx` is consumed by this API call and deleted. // The returned TF_AbstractFunction must be deleted by the client, // TODO(aminim): clarify the contract on the state of the context after this // call. TF_AbstractFunction* TF_FinalizeFunction(TF_ExecutionContext* ctx,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:27:00 GMT 2021 - 7K bytes - Viewed (0)