- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for exists (0.18 sec)
-
tensorflow/c/experimental/filesystem/filesystem_interface.h
/// /// Plugins: /// * Must set `status` to `TF_OK` if directory was created. /// * Must set `status` to `TF_NOT_FOUND` if one of the parents entries in /// `path` doesn't exist. /// * Must set `status` to `TF_FAILED_PRECONDITION` if `path` is invalid. /// * Must set `status` to `TF_ALREADY_EXISTS` if `path` already exists.
C - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Fri May 27 17:36:54 GMT 2022 - 53.1K bytes - Viewed (0) -
tensorflow/c/env.h
// this thread. int numa_node; } TF_ThreadOptions; // Creates the specified directory. Typical status code are: // * TF_OK - successfully created the directory // * TF_ALREADY_EXISTS - directory already exists // * TF_PERMISSION_DENIED - dirname is not writable TF_CAPI_EXPORT extern void TF_CreateDir(const char* dirname, TF_Status* status); // Deletes the specified directory. Typical status codes are:
C - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Sat Jan 09 02:53:27 GMT 2021 - 9.6K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_context.h
virtual Status AsyncWait() = 0; // Add a function (serialized FunctionDef protocol buffer) so that it can // be executed as an op. Return error if the function with the same name // already exists. virtual Status AddFunctionDef(const FunctionDef& fdef) = 0; // Notifies about the function removal. virtual Status AddRemoveFunctionNotifier(const string& func,
C - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Thu Jul 06 08:34:00 GMT 2023 - 12.3K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
namespace { template <typename BackwardFunction, typename TapeTensor> struct BackpropInitialState { OpTape<BackwardFunction, TapeTensor> op_tape; // Map from tensor ID to how many references still exist for this tensor in // the tape. std::unordered_map<int64_t, int64_t> tensor_usage_counts; // Maps from op ID to how many output tensors of this op still need to have // their gradients computed.
C - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 47.1K bytes - Viewed (1) -
tensorflow/c/c_api.h
typedef struct TF_DeviceList TF_DeviceList; // Lists all devices in a TF_Session. // // Caller takes ownership of the returned TF_DeviceList* which must eventually // be freed with a call to TF_DeleteDeviceList. TF_CAPI_EXPORT extern TF_DeviceList* TF_SessionListDevices(TF_Session* session, TF_Status* status); // Lists all devices in a TF_Session. //
C - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (2) -
tensorflow/c/eager/immediate_execution_operation.h
virtual void AddAttrs(const AbstractOpAttrs* op_attrs) = 0; virtual void SetCancellationManager( CancellationManager* cancellation_manager) = 0; // Returns the stack trace set by `SetStackTrace` if exists. virtual absl::optional<ManagedStackTrace> GetStackTrace() = 0; virtual void SetStepId(int64_t step_id) = 0; // For LLVM style RTTI. static bool classof(const AbstractOperation* ptr) {
C - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Mon Sep 26 22:40:32 GMT 2022 - 3.6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h
char* buffer, TF_Status* status); // Validate the given file signature with the existing file signature in the // cache. Returns true if the signature doesn't change or the file doesn't // exist before. If the signature changes, update the existing signature with // the new one and remove the file from cache. bool ValidateAndUpdateFileSignature(const std::string& filename,
C - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 04:46:34 GMT 2020 - 10.6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h
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); } /// Look up the entry with key `key` and copy it to `value` if found. Returns
C - Registered: Tue Mar 26 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
int64_t init_timeout_in_ms, int retries, TF_Status* status, bool clear_existing_contexts); // Checks whether a remote worker is alive or not. This will return true even if // the context doesn't exist on the remote worker. TF_CAPI_EXPORT extern bool TFE_ContextCheckAlive(TFE_Context* ctx, const char* worker_name, TF_Status* status);
C - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0)