- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for deletions (0.42 sec)
-
tensorflow/c/env.h
// Deletes the specified directory and all subdirectories and files underneath // it. This is accomplished by traversing the directory tree rooted at dirname // and deleting entries as they are encountered. // // If dirname itself is not readable or does not exist, *undeleted_dir_count is // set to 1, *undeleted_file_count is set to 0 and an appropriate status (e.g. // TF_NOT_FOUND) is returned.
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) -
tensorflow/c/c_api.h
// * size_t is used to represent byte sizes of objects that are // materialized in the address space of the calling process. // * int is used as an index into arrays. // * Deletion functions are safe to call on nullptr. // // Questions left to address: // * Might at some point need a way for callers to provide their own Env. // * Maybe add TF_TensorShape that encapsulates dimension info. //
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/c_api.h
typedef struct TFE_TensorDebugInfo TFE_TensorDebugInfo; // Retrieves TFE_TensorDebugInfo for `handle`. // If TFE_TensorHandleTensorDebugInfo succeeds, `status` is set to OK and caller // is responsible for deleting returned TFE_TensorDebugInfo. // If TFE_TensorHandleTensorDebugInfo fails, `status` is set to appropriate // error and nullptr is returned. This function can block till the operation // that produces `handle` has completed.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Viewed (1) -
tensorflow/c/eager/tape.h
std::vector<TapeTensor> output_tensor_info; std::vector<int64_t> input_tensor_id; // TODO(apassos) consider narrowing down this interface. BackwardFunction* backward_function; // Should be called before deleting the backward function. TODO(apassos) use // unique_ptrs to ensure this happens. std::function<void(BackwardFunction*)> backward_function_deleter; };
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/experimental/grappler/grappler.h
#define TP_OPTIMIZER_CONFIGS_STRUCT_SIZE \ TF_OFFSET_OF_END(TP_OptimizerConfigs, scoped_allocator_optimization) // Struct for Optimizer. Plugin authors must provide an optimize function. // Creation and deletion functions are optional. typedef struct TP_Optimizer { size_t struct_size; void* ext; // reserved for future use // [Optional] // Create function for optimizer. void* (*create_func)();
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Aug 03 18:08:43 GMT 2022 - 12.5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
/// This is accomplished by traversing directory tree rooted at `path` and /// deleting entries as they are encountered, from leaves to root. Each plugin /// is free to choose a different approach which obtains similar results. /// /// On successful deletion, `status` must be `TF_OK` and `*undeleted_files` /// and `*undeleted_dirs` must be 0. On unsuccessful deletion, `status` must
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 17:36:54 GMT 2022 - 53.1K bytes - Viewed (0) -
tensorflow/c/eager/gradients.h
// a trainable dtype. bool ShouldRecord( absl::Span<const AbstractTensorHandle* const> tensors) const; // Unwatches this tensor on the tape. Mainly used for cleanup when deleting // eager tensors. void DeleteTrace(const AbstractTensorHandle*); // Consumes the internal state of the tape (so cannot be called more than
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 26 10:27:05 GMT 2022 - 6.9K bytes - Viewed (0)