/external/tensorflow/tensorflow/core/kernels/data/ |
D | dataset_utils.cc | 26 std::vector<Tensor> return_values; in MakeIteratorFromInputElement() local 29 captured_func->RunWithBorrowedArgs(ctx, input_element, &return_values)); in MakeIteratorFromInputElement() 31 if (!(return_values.size() == 1 && return_values[0].dtype() == DT_VARIANT && in MakeIteratorFromInputElement() 32 TensorShapeUtils::IsScalar(return_values[0].shape()))) { in MakeIteratorFromInputElement() 40 GetDatasetFromVariantTensor(return_values[0], &returned_dataset)); in MakeIteratorFromInputElement()
|
D | map_and_batch_dataset_op.cc | 217 std::vector<Tensor> return_values; member 249 const std::vector<Tensor>& return_values) { in EnsureOutputAllocated() argument 254 const size_t num_components = return_values.size(); in EnsureOutputAllocated() 257 component_shape.AppendShape(return_values[i].shape()); in EnsureOutputAllocated() 258 Tensor component(ctx->allocator({}), return_values[i].dtype(), in EnsureOutputAllocated() 287 ctx, std::move(input_element), &result->return_values, in InvokeFunctionLocked() 292 result->return_values); in InvokeFunctionLocked() 294 result->return_values.size(); in InvokeFunctionLocked() 296 const Tensor& tensor = result->return_values[i]; in InvokeFunctionLocked() 327 result->return_values.clear(); in InvokeFunctionLocked()
|
D | parallel_map_dataset_op.cc | 198 std::swap(*out_tensors, result->return_values); in GetNextInternal() 226 invocation_results_[i].return_values.size())); in SaveInternal() 227 for (size_t j = 0; j < invocation_results_[i].return_values.size(); in SaveInternal() 232 invocation_results_[i].return_values[j])); in SaveInternal() 279 result->return_values.reserve(num_return_values); in RestoreInternal() 281 result->return_values.emplace_back(); in RestoreInternal() 285 &result->return_values.back())); in RestoreInternal() 296 std::vector<Tensor> return_values; member 330 ctx, std::move(input_element), &result->return_values, in InvokeFunctionLocked()
|
D | group_by_window_dataset_op.cc | 463 std::vector<Tensor> return_values; in StartFlushingGroup() local 465 ctx, std::move(args), &return_values)); in StartFlushingGroup() 467 if (!(return_values.size() == 1 && in StartFlushingGroup() 468 return_values[0].dtype() == DT_VARIANT && in StartFlushingGroup() 469 TensorShapeUtils::IsScalar(return_values[0].shape()))) { in StartFlushingGroup() 479 GetDatasetFromVariantTensor(return_values[0], &returned_dataset)); in StartFlushingGroup()
|
D | iterator_ops.cc | 783 std::vector<Tensor> return_values; in TryInit() local 784 ctx->function_library()->Run(opts, f_handle, {}, &return_values, in TryInit() 791 if (return_values.size() != 1 || return_values[0].dtype() != DT_VARIANT || in TryInit() 792 !TensorShapeUtils::IsScalar(return_values[0].shape())) { in TryInit() 801 TF_RETURN_IF_ERROR(GetDatasetFromVariantTensor(return_values[0], &dataset)); in TryInit()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | executable.cc | 37 std::vector<std::unique_ptr<ShapedBuffer>> return_values(run_options.size()); in ExecuteOnStreams() local 40 TF_ASSIGN_OR_RETURN(return_values[0], in ExecuteOnStreams() 43 return std::move(return_values); in ExecuteOnStreams() 50 TF_ASSIGN_OR_RETURN(return_values[i], in ExecuteOnStreams() 57 return std::move(return_values); in ExecuteOnStreams()
|
/external/python/cpython3/Lib/test/ |
D | test_fileinput.py | 546 self.return_values = {} 553 return self.return_values["nextfile"] 557 return self.return_values["filename"] 561 return self.return_values["lineno"] 565 return self.return_values["filelineno"] 569 return self.return_values["fileno"] 573 return self.return_values["isfirstline"] 577 return self.return_values["isstdin"] 704 instance.return_values["nextfile"] = nextfile_retval 731 instance.return_values["filename"] = filename_retval [all …]
|
/external/libbrillo/brillo/dbus/ |
D | dbus_method_response.h | 86 inline void Return(const Types&... return_values) { in Return() argument 90 DBusParamWriter::Append(&writer, return_values...); in Return()
|
/external/autotest/site_utils/ |
D | run_suite_unittest.py | 113 return_values = {} 115 views_of_job = return_values.setdefault( 119 views_of_job = return_values.setdefault( 125 return return_values[key] 142 return_values = {suite_job_id: []} 149 return_values[suite_job_id].append(new_job) 155 return return_values[kwargs['parent_job_id']]
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | graph_to_functiondef.cc | 120 std::unordered_map<string, string> return_values; in GraphToFunctionDef() local 156 return_values[normalized] = in GraphToFunctionDef() 261 const string& return_value = return_values[ret_name]; in GraphToFunctionDef()
|
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/ops/ |
D | sharded_mutable_dense_hashtable.py | 144 return_values = [ 149 return control_flow_ops.group(*return_values)
|
/external/tensorflow/tensorflow/contrib/tpu/python/tpu/ |
D | tpu_estimator.py | 2200 def from_input_fn(return_values): argument 2202 if isinstance(return_values, dataset_ops.Dataset): 2203 dataset = return_values 2206 features, labels = _Inputs._parse_inputs(return_values) 2210 def _parse_inputs(return_values): argument 2211 if isinstance(return_values, tuple): 2212 features, labels = return_values 2214 features, labels = return_values, None
|