- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 28 for deallocator (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tensorflow/c/eager/c_api.cc
void (*deallocator)(void* data, size_t len, void* arg), void* deallocator_arg, TF_Status* status) { tensorflow::Device* device = nullptr; tensorflow::EagerContext* context = tensorflow::ContextFromInterface(tensorflow::unwrap(ctx)); status->status = context->FindDeviceFromName(device_name, &device); if (!status->status.ok()) { deallocator(data, len, deallocator_arg);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Nov 07 05:55:21 GMT 2025 - 43.9K bytes - Click Count (0) -
tensorflow/c/eager/c_api_experimental.h
TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_NewTensorHandleFromDeviceMemory( TFE_Context* ctx, const char* device_name, TF_DataType, const int64_t* dims, int num_dims, void* data, size_t len, void (*deallocator)(void* data, size_t len, void* arg), void* deallocator_arg, TF_Status* status); // Retrieves the address space (i.e. job, replia, task) of the local host and // saves it in the buffer.
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Click Count (1) -
tensorflow/c/c_api_test.cc
TF_TString_Init(&tstr[0]); TF_TString_Copy(&tstr[0], test_string, sizeof(test_string) - 1); auto deallocator = [](void* data, size_t len, void* arg) {}; unique_tensor_ptr t_in(TF_NewTensor(TF_STRING, nullptr, 0, &tstr[0], sizeof(tstr), deallocator, nullptr), TF_DeleteTensor); // Create a TF_Operation with the attribute t_in
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 97.3K bytes - Click Count (0) -
tensorflow/c/eager/custom_device_testutil.cc
auto dtype = TFE_TensorHandleDataType(t->tensor); TFE_CustomDeviceTensorHandleMethods handle_methods; handle_methods.num_dims = &LoggedTensorNumDims; handle_methods.dim = &LoggedTensorDim; handle_methods.deallocator = &LoggedTensorDeallocator; return TFE_NewCustomDeviceTensorHandle(context, logging_device_name.c_str(), dtype, t.release(), handle_methods,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Dec 20 23:30:21 GMT 2025 - 8.4K bytes - Click Count (0) -
tensorflow/c/c_api.h
// * Maybe add TF_TensorShape that encapsulates dimension info. // // Design decisions made: // * Backing store for tensor memory has an associated deallocation // function. This deallocation function will point to client code // for tensors populated by the client. So the client can do things // like shadowing a numpy array. // * We do not provide TF_OK since it is not strictly necessary and we
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/util/ports/ReservedPortRange.java
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 2.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalAvailableTcpPortProviderPlugin.java
@Override public void apply(Project project) { AvailablePortAllocator allocator = project.getRootProject() .getPlugins() .apply(InternalAvailableTcpPortProviderRootPlugin.class).allocator; ReservedPortRange portRange = allocator.reservePortRange(); project.getExtensions().add("portRange", portRange); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.3K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/routing/allocation/Allocators.java
import org.elasticsearch.cluster.routing.allocation.FailedShard; import org.elasticsearch.cluster.routing.allocation.RoutingAllocation; import org.elasticsearch.cluster.routing.allocation.allocator.BalancedShardsAllocator; import org.elasticsearch.cluster.routing.allocation.decider.AllocationDecider; import org.elasticsearch.cluster.routing.allocation.decider.AllocationDeciders;
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Feb 03 00:10:53 GMT 2021 - 3.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/HashBiMap.java
// Using @Weak is necessary to avoid retain-cycles between Node instances on iOS, // which would cause memory leaks when non-empty HashBiMap with cyclic Node // instances is deallocated. @Nullable Node<K, V> nextInKToVBucket; @Weak @Nullable Node<K, V> nextInVToKBucket; @Weak @Nullable Node<K, V> nextInKeyInsertionOrder; @Weak @Nullable Node<K, V> prevInKeyInsertionOrder;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 25.7K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.36.md
- DRA BindingConditions: when the DRABindingConditions feature was enabled, reusing the same claim among different pods may have caused a panic in the scheduler when deallocation happens in parallel (a rare race condition). ([#137371](https://github.com/kubernetes/kubernetes/pull/137371), [@pohly](https://github.com/pohly)) [SIG Node, Scheduling and Testing]
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Thu Mar 19 23:38:00 GMT 2026 - 142.1K bytes - Click Count (0)