- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for allocated (0.41 sec)
-
tensorflow/c/experimental/filesystem/filesystem_interface.h
/// /// Since memory that is allocated by the DSO gets transferred to core /// TensorFlow, we need to provide a way for the allocation and deallocation to /// match. This is why this structure also defines `plugin_memory_allocate` and /// `plugin_memory_free` members. /// /// All memory allocated by the plugin that will be owned by core TensorFlow /// must be allocated using the allocator in this structure. Core TensorFlow
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/c_api.h
// // Conventions: // * We use the prefix TF_ for everything in the API. // * Objects are always passed around as pointers to opaque structs // and these structs are allocated/deallocated via the API. // * TF_Status holds error information. It is an object type // and therefore is passed around as a pointer to an opaque // struct as mentioned above.
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/c_api_test.cc
TF_DeleteStatus(s); } void Deallocator(void* data, size_t, void* arg) { tensorflow::cpu_allocator()->DeallocateRaw(data); *reinterpret_cast<bool*>(arg) = true; } TEST(CAPI, Tensor) { const int num_bytes = 6 * sizeof(float); float* values = reinterpret_cast<float*>(tensorflow::cpu_allocator()->AllocateRaw( TF_TensorDefaultAlignment(), num_bytes)); int64_t dims[] = {2, 3};
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/BUILD
"//tensorflow/lite/kernels/shim:tf_kernel_shim", "@local_xla//xla/stream_executor:stream_executor_impl", "@local_tsl//tsl/framework:bfc_allocator", "@local_tsl//tsl/framework:metrics", ] + tf_additional_binary_deps() + # TODO(b/259305727): Remove this select and include captured_function in macos builds. select({
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 09 18:15:11 GMT 2024 - 53.4K bytes - Viewed (8)