Home
last modified time | relevance | path

Searched refs:kernel_state (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/data/
Dsingle_threaded_executor.cc41 for (const KernelState& kernel_state : kernels_) { in ~SingleThreadedExecutorImpl() local
42 params_.delete_kernel(kernel_state.kernel); in ~SingleThreadedExecutorImpl()
44 for (const ConstTensorKernelState& kernel_state : const_tensor_kernels_) { in ~SingleThreadedExecutorImpl() local
45 params_.delete_kernel(kernel_state.kernel); in ~SingleThreadedExecutorImpl()
124 ConstTensorKernelState& kernel_state = in Initialize() local
126 kernel_state.kernel = kernel; in Initialize()
127 kernel_state.const_tensor = *const_tensor; in Initialize()
132 KernelState& kernel_state = kernels_[kernel_index]; in Initialize() local
133 kernel_state.kernel = kernel; in Initialize()
134 kernel_state.num_inputs = n->num_inputs(); in Initialize()
[all …]
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate.cc4967 std::unique_ptr<NNAPIDelegateKernel> kernel_state( in GetNodesSupportedByAccelerator() local
4972 kernel_state->Init(context, &params_with_delegate, nnapi_errno)); in GetNodesSupportedByAccelerator()
4975 kernel_state->GetOperationsSupportedByTargetNnApiDevices( in GetNodesSupportedByAccelerator()
4985 kernel_state.release()); in GetNodesSupportedByAccelerator()
5137 NNAPIDelegateKernel* kernel_state = in DoPrepare() local
5139 if (!kernel_state) { in DoPrepare()
5140 kernel_state = new NNAPIDelegateKernel(delegate_data->nnapi); in DoPrepare()
5141 kernel_state->Init(context, params, nnapi_errno); in DoPrepare()
5144 return kernel_state; in DoPrepare()
/external/usrsctp/usrsctplib/netinet/
Dsctputil.c1110 sctp_map_assoc_state(int kernel_state) in sctp_map_assoc_state() argument
1114 if (kernel_state & SCTP_STATE_WAS_ABORTED) { in sctp_map_assoc_state()
1116 } else if (kernel_state & SCTP_STATE_SHUTDOWN_PENDING) { in sctp_map_assoc_state()
1119 switch (kernel_state & SCTP_STATE_MASK) { in sctp_map_assoc_state()