Home
last modified time | relevance | path

Searched refs:return_values (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dexecutable.cc37 std::vector<ScopedShapedBuffer> return_values; in ExecuteOnStreams() local
38 return_values.reserve(run_options.size()); in ExecuteOnStreams()
44 return_values.push_back(std::move(rv)); in ExecuteOnStreams()
45 return std::move(return_values); in ExecuteOnStreams()
54 return_values.push_back(std::move(rv)); in ExecuteOnStreams()
60 return std::move(return_values); in ExecuteOnStreams()
/external/tensorflow/tensorflow/core/kernels/data/
Dparallel_map_iterator.cc128 result.return_values.size())); in SaveInternal()
129 for (size_t j = 0; j < result.return_values.size(); j++) { in SaveInternal()
132 result.return_values[j])); in SaveInternal()
168 result.return_values.reserve(num_return_values); in RestoreInternal()
170 result.return_values.emplace_back(); in RestoreInternal()
173 &result.return_values.back())); in RestoreInternal()
186 std::vector<Tensor> return_values; member
212 RecordBufferEnqueue(ctx.get(), result->return_values); in CallCompleted()
238 &result->return_values, std::move(done)); in CallFunction()
246 *out_tensors = std::move(result->return_values); in ProcessResult()
Ddataset_utils.cc87 std::vector<Tensor> return_values; in MakeIteratorFromInputElement() local
90 &return_values)); in MakeIteratorFromInputElement()
92 if (!(return_values.size() == 1 && return_values[0].dtype() == DT_VARIANT && in MakeIteratorFromInputElement()
93 TensorShapeUtils::IsScalar(return_values[0].shape()))) { in MakeIteratorFromInputElement()
101 GetDatasetFromVariantTensor(return_values[0], &returned_dataset)); in MakeIteratorFromInputElement()
Dparallel_interleave_dataset_op.cc257 *out_tensors = std::move(result->return_values); in GetNextInternal()
320 std::vector<Tensor> return_values; member
542 ctx.get(), &result->return_values, &end_of_input); in FetchResults()
546 RecordBufferEnqueue(ctx.get(), result->return_values); in FetchResults()
736 result->return_values.size())); in WriteElement()
737 for (size_t j = 0; j < result->return_values.size(); j++) { in WriteElement()
741 result->return_values[j])); in WriteElement()
804 result->return_values.reserve(num_return_values); in ReadElement()
806 result->return_values.emplace_back(); in ReadElement()
810 &result->return_values.back())); in ReadElement()
Diterator_ops.cc886 std::vector<Tensor> return_values; in TryInit() local
887 ctx->function_library()->Run(opts, f_handle, {}, &return_values, in TryInit()
894 if (return_values.size() != 1 || return_values[0].dtype() != DT_VARIANT || in TryInit()
895 !TensorShapeUtils::IsScalar(return_values[0].shape())) { in TryInit()
904 TF_RETURN_IF_ERROR(GetDatasetFromVariantTensor(return_values[0], &dataset)); in TryInit()
/external/mesa3d/src/broadcom/compiler/
Dv3d40_tex.c185 struct qreg return_values[4]; in v3d40_vir_emit_tex() local
191 return_values[i] = vir_LDTMU(c); in v3d40_vir_emit_tex()
193 return_values[i] = c->undef; in v3d40_vir_emit_tex()
201 chan = return_values[i / 2]; in v3d40_vir_emit_tex()
233 chan = vir_MOV(c, return_values[i]); in v3d40_vir_emit_tex()
Dv3d33_tex.c196 struct qreg return_values[4]; in v3d33_vir_emit_tex() local
202 return_values[i] = vir_LDTMU(c); in v3d33_vir_emit_tex()
204 return_values[i] = c->undef; in v3d33_vir_emit_tex()
212 chan = return_values[i / 2]; in v3d33_vir_emit_tex()
244 chan = vir_MOV(c, return_values[i]); in v3d33_vir_emit_tex()
/external/python/cpython3/Lib/test/
Dtest_fileinput.py527 self.return_values = {}
534 return self.return_values["nextfile"]
538 return self.return_values["filename"]
542 return self.return_values["lineno"]
546 return self.return_values["filelineno"]
550 return self.return_values["fileno"]
554 return self.return_values["isfirstline"]
558 return self.return_values["isstdin"]
685 instance.return_values["nextfile"] = nextfile_retval
712 instance.return_values["filename"] = filename_retval
[all …]
/external/libbrillo/brillo/dbus/
Ddbus_method_response.h86 inline void Return(const Types&... return_values) { in Return() argument
90 DBusParamWriter::Append(&writer, return_values...); in Return()
/external/autotest/site_utils/
Drun_suite_unittest.py114 return_values = {}
116 views_of_job = return_values.setdefault(
120 views_of_job = return_values.setdefault(
126 return return_values[key]
143 return_values = {suite_job_id: []}
150 return_values[suite_job_id].append(new_job)
156 return return_values[kwargs['parent_job_id']]
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dmap_and_batch_dataset_op.cc431 std::shared_ptr<std::vector<Tensor>> return_values = in CallFunction() local
433 auto done = [this, ctx, result, return_values, offset](Status status) { in CallFunction()
446 EnsureOutputAllocated(ctx, result, return_values); in CallFunction()
450 for (size_t i = 0; i < return_values->size(); ++i) { in CallFunction()
451 Tensor& tensor = return_values->at(i); in CallFunction()
488 std::move(input_element), std::move(return_values), in CallFunction()
526 const std::shared_ptr<std::vector<Tensor>>& return_values) { in EnsureOutputAllocated() argument
531 const size_t num_components = return_values->size(); in EnsureOutputAllocated()
534 component_shape.AppendShape(return_values->at(i).shape()); in EnsureOutputAllocated()
538 return_values->at(i).dtype(), in EnsureOutputAllocated()
Dgroup_by_window_dataset_op.cc456 std::vector<Tensor> return_values; in StartFlushingGroup() local
458 &return_values)); in StartFlushingGroup()
460 if (!(return_values.size() == 1 && in StartFlushingGroup()
461 return_values[0].dtype() == DT_VARIANT && in StartFlushingGroup()
462 TensorShapeUtils::IsScalar(return_values[0].shape()))) { in StartFlushingGroup()
472 GetDatasetFromVariantTensor(return_values[0], &returned_dataset)); in StartFlushingGroup()
Dnuma_map_and_batch_dataset_op.cc1070 std::vector<Tensor> return_values; in WorkerThread() local
1076 &return_values); in WorkerThread()
1084 [this, ctx, &return_values](size_t batch_size, in WorkerThread()
1086 AllocateOutput(ctx.get(), batch_size, return_values, output); in WorkerThread()
1092 for (size_t i = 0; i < return_values.size() && s.ok(); ++i) { in WorkerThread()
1093 Tensor& tensor = return_values.at(i); in WorkerThread()
/external/python/uritemplates/uritemplate/
Dvariable.py318 return_values = []
341 return_values.append(expanded)
344 if return_values:
345 value = self.start + self.join_str.join(return_values)
/external/tensorflow/tensorflow/core/framework/
Dgraph_to_functiondef.cc121 std::unordered_map<string, string> return_values; in GraphToFunctionDef() local
157 return_values[normalized] = in GraphToFunctionDef()
263 const string& return_value = return_values[ret_name]; in GraphToFunctionDef()
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/ops/
Dsharded_mutable_dense_hashtable.py167 return_values = [
172 return control_flow_ops.group(*return_values)
/external/tensorflow/tensorflow/python/tpu/
Dtpu_estimator.py3408 def from_input_fn(return_values): argument
3410 if isinstance(return_values, dataset_ops.DatasetV2):
3411 dataset = return_values
3414 features, labels = _Inputs._parse_inputs(return_values)
3418 def _parse_inputs(return_values): argument
3419 if isinstance(return_values, tuple):
3420 features, labels = return_values
3422 features, labels = return_values, None