Home
last modified time | relevance | path

Searched refs:new_resource (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dbatch_kernels.cc220 std::unique_ptr<BatchResource> new_resource(new BatchResource); in Create() local
225 Batcher::Create(batcher_options, &new_resource->batcher_)); in Create()
227 new_resource->batcher_queue_options_.max_batch_size = max_batch_size; in Create()
228 new_resource->batcher_queue_options_.max_enqueued_batches = in Create()
230 new_resource->batcher_queue_options_.batch_timeout_micros = in Create()
233 new_resource->allowed_batch_sizes_ = allowed_batch_sizes; in Create()
235 new_resource->fhandle_ = fhandle; in Create()
237 *resource = std::move(new_resource); in Create()
725 std::unique_ptr<BatchResource> new_resource; in ComputeAsync() local
729 allowed_batch_sizes_, fhandle_, &new_resource)); in ComputeAsync()
[all …]
/external/mesa3d/src/gallium/frontends/nine/
Dswapchain9.c802 struct pipe_resource *new_resource[This->num_back_buffers]; in present() local
807 … create_present_buffer(This, target_width, target_height, &new_resource[i], &new_handles[i]); in present()
813 if (new_resource[i]) in present()
814 pipe_resource_reference(&new_resource[i], NULL); in present()
822 pipe_resource_reference(&This->present_buffers[i], new_resource[i]); in present()
823 pipe_resource_reference(&new_resource[i], NULL); in present()
846 struct pipe_resource *new_resource; in present() local
849 create_present_buffer(This, target_width, target_height, &new_resource, &new_handle); in present()
854 pipe_resource_reference(&This->present_buffers[0], new_resource); in present()
855 pipe_resource_reference(&new_resource, NULL); in present()
/external/wayland/tests/
Dcompositor-introspection-test.c141 TEST(new_resource) in TEST() argument
/external/tensorflow/tensorflow/python/saved_model/
Dsave.py268 new_resource = obj._create_resource()
270 resource_map[obj.resource_handle] = new_resource