- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for unsafe (0.15 sec)
-
tensorflow/c/eager/c_api.h
TF_CAPI_EXPORT extern void TFE_ContextStartStep(TFE_Context* ctx); // Ends a step. When there is no active step (that is, every started step has // been ended) step containers will be cleared. Note: it is not safe to call // TFE_ContextEndStep while ops that rely on the step container may be running. TF_CAPI_EXPORT extern void TFE_ContextEndStep(TFE_Context* ctx); #ifdef __cplusplus } /* end extern "C" */ #endif
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/c_api_experimental.h
// This API is for experimental usage and may be subject to change. TF_CAPI_EXPORT extern void TFE_ContextUpdateServerDefWithTimeout( TFE_Context* ctx, int keep_alive_secs, const void* proto, size_t proto_len, int64_t init_timeout_in_ms, TF_Status* status); // This API is for experimental usage and may be subject to change. TF_CAPI_EXPORT extern void TFE_ContextSetServerDefWithTimeout(
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/BUILD
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 27 18:00:18 GMT 2024 - 30.3K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler.h
// versioning guarantees yet. // * `void* ext` is a free-form field that can be populated by // a plugin in `TP_*` structs or potential future extension points . // // Example usage: // // /* Sample TensorFlow code below, exact implementation might differ. */ // // Version checking uses `struct_size`. It should be set both by core // // and the plugin. // TP_OptimizerRegistrationParams params{
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/plugins/gcs/ram_file_block_cache.h
/// be accessed after state == FINISHED, and it should never be modified. /// /// In order to prevent deadlocks, never grab the block-cache-wide mu_ lock /// AFTER grabbing any block's mu lock. It is safe to grab mu without locking /// mu_. struct Block { /// The block data. std::vector<char> data; /// A list iterator pointing to the block's position in the LRU list.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 04:46:34 GMT 2020 - 10.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
} // Note: this function looks up a thread local policy. So it should be called in // the appropriate client thread. In particular, in async mode, it may not be // safe to call this function from the async EagerExecutor threads. extern TFE_ContextDevicePlacementPolicy TFE_ContextGetDevicePlacementPolicy( TFE_Context* ctx) { return static_cast<TFE_ContextDevicePlacementPolicy>(
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) -
tensorflow/c/eager/tape.h
} } } auto usage_count_it = state.tensor_usage_counts.find(id); if (usage_count_it == state.tensor_usage_counts.end()) { VLOG(1) << "Tensor " << id << " not used"; continue; } usage_count_it->second--; if (usage_count_it->second > 0) { VLOG(1) << "Tensor " << id << " usage count " << usage_count_it->second; continue; }
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_experimental.cc
if (!status->status.ok()) { return 0; } return op_reg_data->op_def.is_stateful(); } void TF_InitMain(const char* usage, int* argc, char*** argv) { tensorflow::port::InitMain(usage, argc, argv); } int TF_PickUnusedPortOrDie() { return tensorflow::internal::PickUnusedPortOrDie(); } TFE_TensorHandle* TFE_NewTensorHandleFromScalar(TF_DataType data_type,
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) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc
const char* filename; int fd; } PosixFile; static void Cleanup(TF_RandomAccessFile* file) { auto posix_file = static_cast<PosixFile*>(file->plugin_file); close(posix_file->fd); // This would be safe to free using `free` directly as it is only opaque. // However, it is better to be consistent everywhere. plugin_memory_free(const_cast<char*>(posix_file->filename)); delete posix_file; }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sun Mar 24 20:08:23 GMT 2024 - 15.8K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.h
TF_Status* status); // Platform specific initialization routine. Very few platforms actually require // this to be called. TF_CAPI_EXPORT void TF_InitMain(const char* usage, int* argc, char*** argv); // Platform-specific implementation to return an unused port. (This should used // in tests only.) TF_CAPI_EXPORT int TF_PickUnusedPortOrDie(void);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 15.1K bytes - Viewed (0)