Home
last modified time | relevance | path

Searched refs:dense_defaults (Results 1 – 25 of 37) sorted by relevance

12

/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_ParseSingleExample.pbtxt10 name: "dense_defaults"
13 the length of `dense_keys`. dense_defaults[j] provides default values
15 provided for dense_defaults[j], then the Feature dense_keys[j] is required.
16 The input type is inferred from dense_defaults[j], even when it's empty.
17 If dense_defaults[j] is not empty, and dense_shapes[j] is fully defined,
18 then the shape of dense_defaults[j] must match that of dense_shapes[j].
20 feature), dense_defaults[j] must contain a single element:
Dapi_def_ParseExample.pbtxt35 name: "dense_defaults"
38 dense_defaults[j] provides default values
40 provided for dense_defaults[j], then the Feature dense_keys[j] is required.
41 The input type is inferred from dense_defaults[j], even when it's empty.
42 If dense_defaults[j] is not empty, and dense_shapes[j] is fully defined,
43 then the shape of dense_defaults[j] must match that of dense_shapes[j].
45 feature), dense_defaults[j] must contain a single element:
Dapi_def_ParseExampleV2.pbtxt43 name: "dense_defaults"
46 dense_defaults[j] provides default values
48 provided for dense_defaults[j], then the Feature dense_keys[j] is required.
49 The input type is inferred from dense_defaults[j], even when it's empty.
50 If dense_defaults[j] is not empty, and dense_shapes[j] is fully defined,
51 then the shape of dense_defaults[j] must match that of dense_shapes[j].
53 feature), dense_defaults[j] must contain a single element:
Dapi_def_ExperimentalParseExampleDataset.pbtxt5 name: "dense_defaults"
/external/tensorflow/tensorflow/core/grappler/optimizers/data/vectorization/
Dparse_single_example_vectorizer.cc35 std::vector<NodeBuilder::NodeOut> dense_defaults; in Vectorize() local
36 dense_defaults.resize(inputs.size() - 1); in Vectorize()
38 TF_RETURN_IF_ERROR(inputs.unstacked(i, &dense_defaults[i - 1])); in Vectorize()
78 .Input(dense_defaults); in Vectorize()
/external/tensorflow/tensorflow/core/kernels/
Dexample_parsing_ops_test.cc162 std::vector<NodeBuilder::NodeOut> dense_defaults; in ParseExample() local
172 dense_defaults.emplace_back(test::graph::Constant( in ParseExample()
178 dense_defaults.emplace_back( in ParseExample()
195 .Input(dense_defaults) in ParseExample()
223 std::vector<NodeBuilder::NodeOut> dense_defaults; in ParseExampleV2() local
235 dense_defaults.emplace_back(test::graph::Constant( in ParseExampleV2()
240 dense_defaults.emplace_back( in ParseExampleV2()
269 .Input(dense_defaults) in ParseExampleV2()
292 std::vector<NodeBuilder::NodeOut> dense_defaults; in ParseSingleExample() local
301 dense_defaults.emplace_back(test::graph::Constant( in ParseSingleExample()
[all …]
Dexample_parsing_ops.cc61 OpInputList dense_defaults; in Compute() local
79 OP_REQUIRES_OK(ctx, ctx->input_list("dense_defaults", &dense_defaults)); in Compute()
83 ctx, CheckInputShapes(serialized, names, dense_defaults, dense_keys_t, in Compute()
87 MakeConfig(dense_keys_t, sparse_keys_t, ragged_keys_t, dense_defaults); in Compute()
127 const OpInputList& dense_defaults, in CheckInputShapes() argument
168 if (dense_defaults.size() != attrs_.num_dense) { in CheckInputShapes()
171 dense_defaults.size(), " vs. ", attrs_.num_dense); in CheckInputShapes()
175 const Tensor& def_value = dense_defaults[d]; in CheckInputShapes()
212 const OpInputList& dense_defaults) const { in MakeConfig()
217 attrs_.dense_shapes[d], dense_defaults[d], in MakeConfig()
[all …]
/external/tensorflow/tensorflow/python/ops/
Dparsing_config.py396 dense_defaults=None, argument
403 dense_defaults = (
404 collections.OrderedDict() if dense_defaults is None else dense_defaults)
421 self.dense_defaults = dense_defaults
483 default_value = self.dense_defaults.get(key)
581 self.dense_defaults[key] = feature.default_value
593 self.dense_defaults[key] = None
595 self.dense_defaults[key] = feature.default_value
/external/tensorflow/tensorflow/core/kernels/fuzzing/
Dexample_proto_fast_parsing_fuzz.cc40 std::vector<Output> dense_defaults = {Const(scope, {1.0f})}; in BuildGraph() local
47 sparse_keys, dense_keys, dense_defaults, sparse_types, in BuildGraph()
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DExperimentalParseExampleDataset.pbtxt12 name: "dense_defaults"
82 name: "dense_defaults"
DParseExampleDataset.pbtxt12 name: "dense_defaults"
89 name: "dense_defaults"
DParseSingleExample.pbtxt8 name: "dense_defaults"
DParseExample.pbtxt22 name: "dense_defaults"
DParseExampleDatasetV2.pbtxt12 name: "dense_defaults"
DParseExampleV2.pbtxt24 name: "dense_defaults"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DExperimentalParseExampleDataset.pbtxt12 name: "dense_defaults"
82 name: "dense_defaults"
DParseSingleExample.pbtxt8 name: "dense_defaults"
DParseExample.pbtxt22 name: "dense_defaults"
DParseExampleDatasetV2.pbtxt12 name: "dense_defaults"
DParseExampleDataset.pbtxt12 name: "dense_defaults"
DParseExampleV2.pbtxt24 name: "dense_defaults"
/external/tensorflow/tensorflow/python/util/
Dexample_parser_configuration.py156 dense_defaults = fetched[3:]
178 tensor_util.make_tensor_proto(dense_defaults[i]))
/external/tensorflow/tensorflow/lite/kernels/parse_example/
Dparse_example.cc850 const auto* dense_defaults = in EvalParseExample() local
861 dense_defaults->data.i64, in EvalParseExample()
862 dense_defaults->data.i64 + elements_per_stride)), in EvalParseExample()
869 dense_defaults->data.f, in EvalParseExample()
870 dense_defaults->data.f + elements_per_stride)), in EvalParseExample()
874 const int num_strings = GetStringCount(dense_defaults); in EvalParseExample()
877 auto ref = GetString(dense_defaults, i); in EvalParseExample()
Dparse_example_test.cc159 std::initializer_list<DefaultType> dense_defaults, in ParseExampleOpModel() argument
176 TensorData(dense_types[0], {dense_size}), dense_defaults); in ParseExampleOpModel()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dparse_example_dataset_op.cc138 std::vector<Tensor> dense_defaults(dense_default_tensors.begin(), in MakeDataset() local
142 const Tensor& def_value = dense_defaults[d]; in MakeDataset()
202 ctx, input, dense_defaults, sparse_keys_, dense_keys_, in MakeDataset()
213 std::vector<Tensor> dense_defaults, std::vector<string> sparse_keys, in Dataset() argument
228 dense_defaults_(std::move(dense_defaults)), in Dataset()

12