Home
last modified time | relevance | path

Searched refs:input_list (Results 1 – 25 of 80) sorted by relevance

1234

/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_squeeze_op_test.py50 def test_passing_empty(self, input_list, squeeze_ranks=None): argument
52 ragged_factory_ops.constant(input_list), squeeze_ranks)
53 dt = array_ops.squeeze(constant_op.constant(input_list), squeeze_ranks)
110 def test_passing_simple(self, input_list, squeeze_ranks=None): argument
112 ragged_factory_ops.constant(input_list), squeeze_ranks)
113 dt = array_ops.squeeze(constant_op.constant(input_list), squeeze_ranks)
164 def test_passing_simple_from_dense(self, input_list, squeeze_ranks=None): argument
165 dt = constant_op.constant(input_list)
183 def test_passing_ragged(self, input_list, output_list, squeeze_ranks=None): argument
184 rt = ragged_factory_ops.constant(input_list)
[all …]
/external/pigweed/pw_build/py/
Dzip_test.py87 input_list = [f'{in_path}/file1.txt {DELIMITER} /']
91 zip_up(input_list, out_filename)
106 input_list = [f'{in_path}/dir1/ {DELIMITER} /']
110 zip_up(input_list, out_filename)
130 input_list = [f'{in_path}/file1.txt {DELIMITER} /renamed.txt']
134 zip_up(input_list, out_filename)
150 input_list = [f'{in_path}/file1.txt {DELIMITER} /foo/']
154 zip_up(input_list, out_filename)
170 input_list = [f'{in_path}/dir1/ {DELIMITER} /foo/']
174 zip_up(input_list, out_filename)
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dstring_join_op.cc38 OpInputList input_list; in Compute() local
39 OP_REQUIRES_OK(context, context->input_list("inputs", &input_list)); in Compute()
44 for (const auto& input : input_list) { in Compute()
65 std::vector<StringPiece> strings(input_list.size()); in Compute()
67 for (int j = 0; j < input_list.size(); ++j) { in Compute()
Dlist_kernels.cc93 const TensorList& input_list, in ForwardInputOrCreateNewList() argument
123 output_tensor->scalar<Variant>()() = input_list.Copy(); in ForwardInputOrCreateNewList()
337 const TensorList* input_list = nullptr; in Compute() local
338 OP_REQUIRES_OK(c, GetInputList(c, 0, &input_list)); in Compute()
364 output_list.element_shape = input_list->element_shape; in Compute()
365 output_list.element_dtype = input_list->element_dtype; in Compute()
366 output_list.max_num_elements = input_list->max_num_elements; in Compute()
367 if (size > input_list->tensors().size()) { in Compute()
369 input_list->tensors().begin(), in Compute()
370 input_list->tensors().end()); in Compute()
[all …]
Dsparse_concat_op.cc43 OP_REQUIRES_OK(context, context->input_list("indices", &inds)); in Compute()
53 OP_REQUIRES_OK(context, context->input_list("values", &vals)); in Compute()
65 OP_REQUIRES_OK(context, context->input_list("shapes", &shapes)); in Compute()
Dsparse_cross_op.cc705 OP_REQUIRES_OK(context, context->input_list("indices", &indices_list_in)); in Compute()
707 OP_REQUIRES_OK(context, context->input_list("values", &values_list_in)); in Compute()
709 OP_REQUIRES_OK(context, context->input_list("shapes", &shapes_list_in)); in Compute()
712 context->input_list("dense_inputs", &dense_list_in)); in Compute()
767 OP_REQUIRES_OK(context, context->input_list("indices", &indices_list_in)); in Compute()
769 OP_REQUIRES_OK(context, context->input_list("values", &values_list_in)); in Compute()
771 OP_REQUIRES_OK(context, context->input_list("shapes", &shapes_list_in)); in Compute()
774 context->input_list("dense_inputs", &dense_list_in)); in Compute()
826 OP_REQUIRES_OK(context, context->input_list("indices", &indices_list_in)); in Compute()
828 OP_REQUIRES_OK(context, context->input_list("values", &values_list_in)); in Compute()
[all …]
Dsdca_internal.cc98 context->input_list("sparse_indices", &sparse_indices_inputs)); in Initialize()
101 context->input_list("sparse_weights", &sparse_weights_inputs)); in Initialize()
104 context->input_list("dense_weights", &dense_weights_inputs)); in Initialize()
328 TF_RETURN_IF_ERROR(context->input_list("sparse_example_indices", in Initialize()
331 TF_RETURN_IF_ERROR(context->input_list("sparse_feature_indices", in Initialize()
335 TF_RETURN_IF_ERROR(context->input_list("sparse_feature_values", in Initialize()
357 context->input_list("dense_features", &dense_features_inputs)); in Initialize()
Dragged_cross_op.cc331 context->input_list("ragged_values", &ragged_values_list)); in Compute()
333 context, context->input_list("ragged_row_splits", &ragged_splits_list)); in Compute()
335 context->input_list("sparse_indices", &sparse_indices_list)); in Compute()
337 context->input_list("sparse_values", &sparse_values_list)); in Compute()
339 context->input_list("sparse_shape", &sparse_shape_list)); in Compute()
340 OP_REQUIRES_OK(context, context->input_list("dense_inputs", &dense_list)); in Compute()
Dquantized_concat_op.cc170 OP_REQUIRES_OK(context, context->input_list("values", &values)); in Compute()
173 OP_REQUIRES_OK(context, context->input_list("input_mins", &input_mins)); in Compute()
179 OP_REQUIRES_OK(context, context->input_list("input_maxes", &input_maxes)); in Compute()
/external/tensorflow/tensorflow/core/kernels/boosted_trees/
Dtraining_ops.cc60 OP_REQUIRES_OK(context, context->input_list("node_ids", &node_ids_list)); in Compute()
61 OP_REQUIRES_OK(context, context->input_list("gains", &gains_list)); in Compute()
63 context->input_list("thresholds", &thresholds_list)); in Compute()
64 OP_REQUIRES_OK(context, context->input_list("left_node_contribs", in Compute()
66 OP_REQUIRES_OK(context, context->input_list("right_node_contribs", in Compute()
258 OP_REQUIRES_OK(context, context->input_list("node_ids", &node_ids_list)); in Compute()
259 OP_REQUIRES_OK(context, context->input_list("gains", &gains_list)); in Compute()
261 context->input_list("thresholds", &thresholds_list)); in Compute()
263 context->input_list("dimension_ids", &dimension_ids_list)); in Compute()
264 OP_REQUIRES_OK(context, context->input_list("left_node_contribs", in Compute()
[all …]
Dquantile_ops.cc150 context, context->input_list(kFloatFeaturesName, &float_features_list)); in Compute()
296 context->input_list(kSummariesName, &summaries_list)); in Compute()
358 OP_REQUIRES_OK(context, context->input_list(kBucketBoundariesName, in Compute()
517 context, context->input_list(kFloatFeaturesName, &float_features_list)); in Compute()
519 OP_REQUIRES_OK(context, context->input_list(kBucketBoundariesName, in Compute()
/external/vixl/tools/test_generator/
Dparser.py238 input_list = generator.InputList([
243 return operand_list, input_list
320 def ParseTestFile(test_name, test_isa, mnemonics, operand_list, input_list, argument
360 mnemonics, operand_list, input_list, test_cases)
385 operand_list, input_list = ParseDescription(
390 input_list, json_test_file)
/external/tensorflow/tensorflow/core/kernels/data/
Drewrite_utils.cc150 std::vector<std::pair<string, Tensor>> input_list; in RewriteDataset() local
154 AsGraphDefMinimal(ctx, input, &input_list, &graph_def, &output_node)); in RewriteDataset()
179 graph_runner.Run(&graph, flr, input_list, {output_node}, &outputs)); in RewriteDataset()
186 input_list = std::move(input_list), in RewriteDataset()
206 for (const auto& pair : input_list) { in RewriteDataset()
Dserialization_utils.cc57 std::vector<std::pair<string, Tensor>>* input_list, in AsGraphDefMinimal() argument
60 params.input_list = input_list; in AsGraphDefMinimal()
Dtensor_dataset_op.cc85 DCHECK_NE(ctx->input_list(), nullptr); in AsGraphDefInternal()
86 ctx->input_list()->emplace_back(node->name(), t); in AsGraphDefInternal()
157 OP_REQUIRES_OK(ctx, ctx->input_list(kComponents, &inputs)); in MakeDataset()
Dtensor_slice_dataset_op.cc98 DCHECK_NE(ctx->input_list(), nullptr); in AsGraphDefInternal()
99 ctx->input_list()->emplace_back(node->name(), t); in AsGraphDefInternal()
184 OP_REQUIRES_OK(ctx, ctx->input_list(kComponents, &inputs)); in MakeDataset()
Dserialization_utils.h36 std::vector<std::pair<string, Tensor>>* input_list,
/external/pigweed/pw_build/
Dzip.gni100 args += [ "--input_list" ]
108 input_list = []
109 input_list = string_split(input, _delimiter)
110 input_list[0] = rebase_path(input_list[0])
111 inputs += [ input_list[0] ]
114 args += [ string_join(_delimiter, input_list) ]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dxla_sharding_util.cc213 llvm::SmallVectorImpl<llvm::SmallVector<mlir::Value, 4>>* input_list) { in ExtractInputsForLogicalDevices() argument
215 input_list->reserve(num_cores_per_replica); in ExtractInputsForLogicalDevices()
217 input_list->emplace_back(llvm::SmallVector<mlir::Value, 4>()); in ExtractInputsForLogicalDevices()
227 (*input_list)[0] = cluster_func_inputs; in ExtractInputsForLogicalDevices()
267 for (auto& index_and_inputs : llvm::enumerate(*input_list)) { in ExtractInputsForLogicalDevices()
279 (*input_list)[assigned_logical_device].emplace_back( in ExtractInputsForLogicalDevices()
298 (*input_list)[assigned_logical_device].emplace_back(tiled_inputs[i]); in ExtractInputsForLogicalDevices()
301 for (auto& inputs : *input_list) inputs.emplace_back(input_value); in ExtractInputsForLogicalDevices()
305 (*input_list)[logical_device_id].emplace_back(input_value); in ExtractInputsForLogicalDevices()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dchoose_fastest_dataset_op.cc40 OpInputList input_list; in MakeDataset() local
41 OP_REQUIRES_OK(ctx, ctx->input_list("input_datasets", &input_list)); in MakeDataset()
43 ctx, input_list.size() > 1, in MakeDataset()
48 inputs.reserve(input_list.size()); in MakeDataset()
49 for (const auto& tensor : input_list) { in MakeDataset()
Dcompute_batch_size_op.cc96 std::vector<std::pair<string, Tensor>> input_list; in Compute() local
99 OP_REQUIRES_OK(ctx, AsGraphDefMinimal(ctx, dataset, &input_list, &graph_def, in Compute()
/external/tensorflow/tensorflow/python/keras/engine/
Dbase_layer.py963 input_list = nest.flatten(inputs)
970 if _in_functional_construction_mode(self, inputs, args, kwargs, input_list):
972 input_list)
979 np_arrays.ndarray, np.ndarray, float, int)) for x in input_list):
981 input_list = nest.flatten(inputs)
988 inputs, input_list, args, kwargs)
1016 inputs = self._maybe_cast_inputs(inputs, input_list)
1043 def _functional_construction_call(self, inputs, args, kwargs, input_list): argument
1048 np_arrays.ndarray, np.ndarray, float, int)) for x in input_list):
1058 input_list = nest.flatten(inputs)
[all …]
/external/pigweed/pw_build/py/pw_build/
Dzip.py46 def zip_up(input_list: Iterable,
63 for _input in input_list:
/external/webrtc/modules/video_coding/codecs/test/
Dplot_webrtc_test_logs.py360 def ToString(input_list): argument
361 return ToStringWithoutMetric(input_list, ('', ''))
364 def ToStringWithoutMetric(input_list, metric): argument
367 for m in input_list:
/external/tensorflow/tensorflow/python/ops/
Dlist_ops.py321 input_list, _ = op.inputs
322 input_list_size = gen_list_ops.tensor_list_length(input_list)
329 input_list, indices, _ = op.inputs
331 input_list, shape_type=dtypes.int32)
332 num_elements = gen_list_ops.tensor_list_length(input_list)

1234