Home
last modified time | relevance | path

Searched refs:rets (Results 1 – 25 of 48) sorted by relevance

12

/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_exit/
Dstress.c146 int rets[NSCENAR * SCALABILITY_FACTOR * FACTOR]; in main() local
176 rets[i * NSCENAR + sc] = in main()
182 if (rets[i * NSCENAR + sc] != 0) { in main()
183 UNRESOLVED(rets in main()
190 if (rets[i * NSCENAR + sc] == 0) { in main()
199 if (rets[i * NSCENAR + sc] == 0) { in main()
205 strerror(rets in main()
212 if (rets[i * NSCENAR + sc] == 0) { in main()
232 && (rets[i * NSCENAR + sc] == 0)) { in main()
/external/tensorflow/tensorflow/core/kernels/
Dfunction_ops.cc236 std::vector<Tensor>* rets = new std::vector<Tensor>; in ComputeAsync() local
238 lib->Run(opts, handle, args, rets, [ctx, done, rets](const Status& status) { in ComputeAsync()
241 } else if (rets->size() != ctx->num_outputs()) { in ComputeAsync()
244 " tensor(s), but get ", rets->size(), " tensor(s) instead.")); in ComputeAsync()
246 for (size_t i = 0; i < rets->size(); ++i) { in ComputeAsync()
247 ctx->set_output(i, std::move((*rets)[i])); in ComputeAsync()
250 delete rets; in ComputeAsync()
348 auto* rets = new std::vector<Tensor>; in ComputeAsync() local
358 opts, handle, args, rets, in ComputeAsync()
359 [rets, done = std::move(done), func_name, ctx, in ComputeAsync()
[all …]
Dpartitioned_function_ops.cc258 std::vector<Tensor>* rets = new std::vector<Tensor>; in RunFunction() local
261 lib->Run(run_opts, handle, inputs, rets, in RunFunction()
262 [rets, done = std::move(done), ctx, func_name, in RunFunction()
270 for (int i = 0; i < rets->size(); ++i) { in RunFunction()
271 ctx->set_output(i, (*rets)[i]); in RunFunction()
274 delete rets; in RunFunction()
Dquantization_utils_test.cc751 int64_t rets[2]; in TestDivide64x2Pow() local
752 vst1q_s64(rets, ret); in TestDivide64x2Pow()
753 EXPECT_EQ(rets[0], ref); in TestDivide64x2Pow()
754 EXPECT_EQ(rets[1], ref); in TestDivide64x2Pow()
763 int64_t rets[2]; in TestDivide64x2PowRound() local
764 vst1q_s64(rets, shifted); in TestDivide64x2PowRound()
765 EXPECT_EQ(rets[0], ref) << "in = " << val << ", " << POW in TestDivide64x2PowRound()
766 << ", act = " << rets[0] << ", ref = " << ref; in TestDivide64x2PowRound()
767 EXPECT_EQ(rets[1], ref); in TestDivide64x2PowRound()
768 VLOG(1) << "div round: " << val << ", " << rets[0]; in TestDivide64x2PowRound()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Dfunction_threadpool_test.cc79 const std::vector<Tensor>& args, std::vector<Tensor*> rets, in Run() argument
103 CHECK_EQ(rets.size(), out.size()); in Run()
104 for (size_t i = 0; i < rets.size(); ++i) { in Run()
105 *rets[i] = out[i]; in Run()
131 std::vector<Tensor*> rets, bool add_runner = true) { in InstantiateAndRun() argument
134 std::move(rets), add_runner); in InstantiateAndRun()
141 const std::vector<Tensor>& args, std::vector<Tensor*> rets, in InstantiateAndRun() argument
149 status = Run(flr, handle, opts, args, rets, add_runner); in InstantiateAndRun()
156 Status status2 = Run(flr, handle, opts, args, std::move(rets)); in InstantiateAndRun()
Dfunction.cc164 std::vector<Tensor>* rets, DoneCallback done) override;
170 std::vector<Tensor>* rets) override;
234 std::vector<Tensor>* rets, in Run() argument
236 base_flr_->Run(opts, handle, args, rets, std::move(done)); in Run()
247 std::vector<Tensor>* rets) { in RunSync() argument
248 return base_flr_->RunSync(std::move(opts), handle, args, rets); in RunSync()
348 std::vector<Tensor>* rets, DoneCallback done) override;
352 std::vector<Tensor>* rets) override;
444 gtl::ArraySlice<Tensor> args, std::vector<Tensor>* rets,
541 std::vector<Tensor>* rets = new std::vector<Tensor>; in ComputeAsync() local
[all …]
Dprocess_function_library_runtime.cc407 std::vector<FunctionRet>* rets, std::vector<Tensor>* tensors, in TensorsToFunctionRetsDoneCallback() argument
409 return [rets, tensors, done = std::move(done)](const Status& s) { in TensorsToFunctionRetsDoneCallback()
412 rets->push_back(t); in TensorsToFunctionRetsDoneCallback()
1065 FunctionLibraryRuntime::Handle handle, std::vector<FunctionRet>* rets, in RunMultiDevice() argument
1142 rets->resize(data->num_outputs_); in RunMultiDevice()
1144 auto component_fn_callback = [comp_rets, rets, comp_data, refcounted_done, in RunMultiDevice()
1162 (*rets)[comp_data.ret_indices[i]] = (*comp_rets)[i]; in RunMultiDevice()
1394 std::vector<Tensor>* rets, in Run() argument
1412 done = [rets, function_rets, done = std::move(done)](const Status& s) { in Run()
1417 rets->push_back(absl::get<Tensor>(ret)); in Run()
[all …]
Dprocess_function_library_runtime_test.cc70 gtl::ArraySlice<Tensor> args, std::vector<Tensor>* rets, in Run() argument
75 gtl::ArraySlice<FunctionArg> args, std::vector<FunctionRet>* rets, in Run() argument
216 const T& args, std::vector<K*> rets, in RunWithRuntime() argument
245 CHECK_EQ(rets.size(), out.size()); in RunWithRuntime()
246 for (size_t i = 0; i < rets.size(); ++i) { in RunWithRuntime()
247 *rets[i] = out[i]; in RunWithRuntime()
273 const std::vector<Tensor>& args, std::vector<Tensor*> rets, in Run() argument
276 name, opts, attrs, instantiate_opts, args, rets, proc_flr_.get()); in Run()
283 const FunctionArgsInterface& args, std::vector<FunctionRet*> rets, in RunWithPackedArgs() argument
286 name, opts, attrs, instantiate_opts, args, rets, proc_flr_.get()); in RunWithPackedArgs()
[all …]
Dprocess_function_library_runtime.h185 std::vector<Tensor>* rets,
193 const FunctionArgsInterface& args, std::vector<FunctionRet>* rets,
198 gtl::ArraySlice<Tensor> args, std::vector<Tensor>* rets) const;
310 FunctionLibraryRuntime::Handle handle, std::vector<FunctionRet>* rets,
394 std::vector<FunctionRet>* rets,
/external/tensorflow/tensorflow/core/kernels/data/
Dcaptured_function.h226 std::vector<Tensor>* rets) const;
234 std::vector<Tensor>* rets,
242 std::vector<Tensor>* rets) const;
250 std::vector<Tensor>* rets,
260 std::vector<Tensor>* rets);
268 std::vector<Tensor>* rets,
Dcaptured_function.cc128 std::vector<Tensor>* rets) { in RunShortCircuit() argument
131 rets->reserve(info.indices.size()); in RunShortCircuit()
134 rets->push_back(args[info.indices[i]]); in RunShortCircuit()
139 rets->push_back(*captured_input); in RunShortCircuit()
147 std::vector<Tensor>* rets) { in RunShortCircuit() argument
150 rets->reserve(info.indices.size()); in RunShortCircuit()
154 rets->push_back(std::move(args[info.indices[i]])); in RunShortCircuit()
156 rets->push_back(args[info.indices[i]]); in RunShortCircuit()
162 rets->push_back(*captured_input); in RunShortCircuit()
829 std::vector<Tensor>* rets) const { in Run()
[all …]
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Dcluster_function_library_runtime.cc118 std::vector<Tensor>* rets, FunctionLibraryRuntime::DoneCallback done) { in Run() argument
125 [rets, function_rets, done = std::move(done)](const Status& s) { in Run()
130 rets->push_back(absl::get<Tensor>(t)); in Run()
147 gtl::ArraySlice<FunctionArg> args, std::vector<FunctionRet>* rets, in Run() argument
224 [request, response, rets, call_opts, cm, token, in Run()
239 rets->push_back(shape); in Run()
244 rets->push_back(std::move(t)); in Run()
Dcluster_function_library_runtime.h65 gtl::ArraySlice<Tensor> args, std::vector<Tensor>* rets,
73 gtl::ArraySlice<FunctionArg> args, std::vector<FunctionRet>* rets,
/external/tensorflow/tensorflow/lite/g3doc/convert/
Doperation_fusion.md141 rets = zeros([num, embedding dim])
143 rets[i, :] = embs[ids_vec[i], :]
144 return rets
155 rets = inplace_ops.empty([num] + emb_shape_suf, py_utils.FPropDtype(p))
157 def EmbFpropLoop(i, embs, ids_vec, rets):
162 # rets[i] = row
163 rets = inplace_ops.alias_inplace_update(rets, [i], row)
164 return embs, ids_vec, rets
166 _, _, rets = functional_ops.For(
170 inputs=[embs, ids_vec, rets],
[all …]
/external/tensorflow/tensorflow/python/eager/
Dremote_test.py110 rets = remote_output(constant_op.constant([1]))
111 self.assertAllEqual(rets[0].numpy(), [2])
112 self.assertAllEqual(rets[1].numpy(), 2)
113 self.assertEqual(rets[0].backing_device,
115 self.assertEqual(rets[1].backing_device,
513 rets = remote_output(constant_op.constant([1]))
514 self.assertEqual(rets[0].backing_device,
516 self.assertEqual(rets[1].backing_device,
518 self.assertAllEqual(rets[0].numpy(), [2])
519 self.assertAllEqual(rets[1].numpy(), 2)
/external/tensorflow/tensorflow/core/distributed_runtime/
Dcluster_function_library_runtime.cc260 std::vector<Tensor>* rets, FunctionLibraryRuntime::DoneCallback done) { in Run() argument
296 [call_options, req, resp, rets, recv_keys, done](const Status& status) { in Run()
323 rets->push_back(t); in Run()
336 gtl::ArraySlice<FunctionArg> args, std::vector<FunctionRet>* rets, in Run() argument
351 [rets, ret_tensors, done = std::move(done)](const Status& s) { in Run()
354 rets->push_back(t); in Run()
Dcluster_function_library_runtime_test.cc77 const std::vector<Tensor>& args, std::vector<Tensor*> rets) { in InstantiateAndRun() argument
103 CHECK_EQ(rets.size(), out.size()); in InstantiateAndRun()
104 for (size_t i = 0; i < rets.size(); ++i) { in InstantiateAndRun()
105 *rets[i] = out[i]; in InstantiateAndRun()
Dcluster_function_library_runtime.h48 gtl::ArraySlice<Tensor> args, std::vector<Tensor>* rets,
53 gtl::ArraySlice<FunctionArg> args, std::vector<FunctionRet>* rets,
/external/python/cpython2/Lib/
Dpoplib.py206 rets = retval.split()
207 if self._debugging: print '*stat*', repr(rets)
208 numMessages = int(rets[1])
209 sizeMessages = int(rets[2])
/external/python/cpython3/Lib/
Dpoplib.py227 rets = retval.split()
228 if self._debugging: print('*stat*', repr(rets))
229 numMessages = int(rets[1])
230 sizeMessages = int(rets[2])
/external/libxml2/
Dgentest.py528 rets = ctxt.xpathEval("/api/symbols/function/return") variable
529 for ret in rets:
706 rets = node.xpathEval("return")
708 rets = []
710 for ret in rets:
/external/tensorflow/tensorflow/core/framework/
Dfunction.h307 Status GetRetvals(std::vector<Tensor>* rets) const;
311 Status ConsumeRetvals(std::vector<Tensor>* rets, bool allow_dead_tensors);
823 gtl::ArraySlice<Tensor> args, std::vector<Tensor>* rets,
830 std::vector<Tensor>* rets) = 0;
985 gtl::ArraySlice<Tensor> args, std::vector<Tensor>* rets,
998 std::vector<FunctionRet>* rets,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIntrinsicsARM.td799 multiclass IntrinsicSignSuffix<list<LLVMType> rets, list<LLVMType> params = [],
803 def _s: Intrinsic<rets, params, props, name, sdprops>;
804 def _u: Intrinsic<rets, params, props, name, sdprops>;
885 multiclass MVEPredicated<list<LLVMType> rets, list<LLVMType> params,
888 def "": Intrinsic<rets, params, props>;
889 def _predicated: Intrinsic<rets, params # [pred], props>;
891 multiclass MVEPredicatedM<list<LLVMType> rets, list<LLVMType> params,
894 def "": Intrinsic<rets, params, props>;
895 def _predicated: Intrinsic<rets, params # [pred,
896 !if(!eq(!cast<string>(rets[0]), "llvm_anyvector_ty"),
[all …]
/external/llvm-project/llvm/test/CodeGen/Mips/Fast-ISel/
Dretabi.ll39 define signext i16 @rets() {
41 ; CHECK-LABEL: rets:
/external/llvm/test/CodeGen/Mips/Fast-ISel/
Dretabi.ll39 define signext i16 @rets() {
41 ; CHECK-LABEL: rets:

12