- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 207 for cc_status (0.11 sec)
-
tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc
// Step 2: Initialize the opaque filesystem structure auto filesystem = std::make_unique<TF_Filesystem>(); TF_Status* c_status = TF_NewStatus(); Status status = OkStatus(); core_filesystem_ops->init(filesystem.get(), c_status); status = Status(c_status->status); TF_DeleteStatus(c_status); if (!status.ok()) return status; // Step 3: Actual registration return Env::Default()->RegisterFileSystem(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 07 22:08:43 UTC 2023 - 12.8K bytes - Viewed (0) -
tensorflow/c/experimental/next_pluggable_device/c_api.h
TF_Status* status); TF_CAPI_EXPORT extern void TF_AllocateTempForVariableInfo( TF_OpKernelContext* ctx, TF_VariableInfo* var_info, TF_Status* status); TF_CAPI_EXPORT extern TF_Tensor* TF_GetTensorFromVariableInfo( TF_VariableInfo* var_info, TF_Status* status); TF_CAPI_EXPORT extern void TF_DeleteVariableInfo(TF_VariableInfo* var_info);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 20 20:01:06 UTC 2023 - 7.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.h
TF_Status* s); // `op_name` must outlive `op`. void TF_AbstractOpSetOpName(TF_AbstractOp* op, const char* const op_name, TF_Status* s); // `attr_name` must outlive `op`. void TF_AbstractOpSetAttrType(TF_AbstractOp* op, const char* const attr_name, TF_DataType value, TF_Status* s); void TF_DeleteAbstractTensor(TF_AbstractTensor*);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Oct 24 11:27:00 UTC 2021 - 7K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc
TF_Status* status) { auto posix_file = static_cast<PosixFile*>(file->plugin_file); size_t r = fwrite(buffer, 1, n, posix_file->handle); if (r != n) TF_SetStatusFromIOError(status, errno, posix_file->filename); else TF_SetStatus(status, TF_OK, ""); } static int64_t Tell(const TF_WritableFile* file, TF_Status* status) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Mar 24 20:08:23 UTC 2024 - 15.8K bytes - Viewed (0) -
tensorflow/c/kernels_experimental.h
int num_dims, TF_StringView* var_name, void (*plugin_allocator)(TF_OpKernelContext*, TF_Tensor*, TF_DataType, const int64_t*, int, TF_Status*), TF_Status* tf_status); // Expose higher level temporary variable operator for Pluggable vendors to // implement in the plugin for destroying temporary variables. The API takes in
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 07 14:44:39 UTC 2023 - 9.4K 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
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jan 09 02:53:27 UTC 2021 - 9.6K bytes - Viewed (0) -
tensorflow/c/tf_status_helper.cc
std::string value_str(value); TF_SetPayload(tf_status, key_str.c_str(), value_str.c_str()); }); } absl::Status StatusFromTF_Status(const TF_Status* tf_status) { absl::Status status(StatusCodeFromTSLCode(TF_GetCode(tf_status)), TF_Message(tf_status)); TF_ForEachPayload( tf_status, [](const char* key, const char* value, void* capture) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 06:12:29 UTC 2024 - 1.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_eager.cc
TF_Status* s) { TFE_Context* c_ctx = TFE_NewContext(options, s); if (TF_GetCode(s) != TF_OK) { return nullptr; } return wrap(static_cast<AbstractContext*>(unwrap(c_ctx))); } TF_AbstractTensor* TF_CreateAbstractTensorFromEagerTensor(TFE_TensorHandle* t, TF_Status* s) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 25 04:40:46 UTC 2020 - 3.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h
void Append(const TF_WritableFile* file, const char* buffer, size_t n, TF_Status* status); int64_t Tell(const TF_WritableFile* file, TF_Status* status); void Flush(const TF_WritableFile* file, TF_Status* status); void Sync(const TF_WritableFile* file, TF_Status* status); void Close(const TF_WritableFile* file, TF_Status* status); } // namespace tf_writable_file namespace tf_read_only_memory_region {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 31 04:37:41 UTC 2020 - 5.2K bytes - Viewed (0) -
tensorflow/c/safe_ptr.h
Safe_TFE_TensorHandlePtr make_safe(TFE_TensorHandle* handle); // Safe containers for an owned TF_Status. On destruction, the handle // will be deleted by TF_DeleteStatus. using Safe_TF_StatusPtr = std::unique_ptr<TF_Status, detail::TFStatusDeleter>; Safe_TF_StatusPtr make_safe(TF_Status* status); // Safe containers for an owned TF_Buffer. On destruction, the handle // will be deleted by TF_DeleteBuffer.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 22 19:17:09 UTC 2023 - 2.3K bytes - Viewed (0)