Home
last modified time | relevance | path

Searched refs:dense_defaults (Results 1 – 25 of 36) 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_ParseExampleDataset.pbtxt5 name: "dense_defaults"
/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.py395 dense_defaults=None, argument
402 dense_defaults = (
403 collections.OrderedDict() if dense_defaults is None else dense_defaults)
420 self.dense_defaults = dense_defaults
482 default_value = self.dense_defaults.get(key)
585 self.dense_defaults[key] = feature.default_value
599 self.dense_defaults[key] = None
601 self.dense_defaults[key] = feature.default_value
Dparsing_ops.py352 dense_defaults=params.dense_defaults_vec,
607 for k, v in feature_list.dense_defaults.items():
/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_v2/
DExperimentalParseExampleDataset.pbtxt12 name: "dense_defaults"
82 name: "dense_defaults"
159 name: "dense_defaults"
243 name: "dense_defaults"
DParseExampleDatasetV2.pbtxt12 name: "dense_defaults"
129 name: "dense_defaults"
253 name: "dense_defaults"
DParseExampleDataset.pbtxt12 name: "dense_defaults"
129 name: "dense_defaults"
253 name: "dense_defaults"
DParseSingleExample.pbtxt8 name: "dense_defaults"
DParseExample.pbtxt22 name: "dense_defaults"
DParseExampleV2.pbtxt24 name: "dense_defaults"
/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/python/util/
Dexample_parser_configuration.py154 dense_defaults = fetched[3:]
176 tensor_util.make_tensor_proto(dense_defaults[i]))
/external/tensorflow/tensorflow/lite/kernels/parse_example/
Dparse_example.cc856 const auto* dense_defaults = in EvalParseExample() local
867 dense_defaults->data.i64, in EvalParseExample()
868 dense_defaults->data.i64 + elements_per_stride)), in EvalParseExample()
875 dense_defaults->data.f, in EvalParseExample()
876 dense_defaults->data.f + elements_per_stride)), in EvalParseExample()
880 const int num_strings = GetStringCount(dense_defaults); in EvalParseExample()
883 auto ref = GetString(dense_defaults, i); in EvalParseExample()
Dparse_example_test.cc190 std::initializer_list<DefaultType> dense_defaults, in ParseExampleOpModel() argument
209 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