Home
last modified time | relevance | path

Searched refs:num_dense (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/python/util/
Dexample_parser_configuration.py51 num_dense = parse_example_op.get_attr("Ndense")
52 total_features = num_dense + num_sparse
63 if len(dense_types) != num_dense:
66 (len(dense_types), num_dense))
68 if len(dense_shapes) != num_dense:
71 (len(dense_shapes), num_dense))
77 if len(fetch_list) != (total_features + num_dense):
80 (len(fetch_list), (total_features + num_dense)))
91 dense_def_start = dense_keys_start + num_dense
100 for i in range(num_dense):
[all …]
/external/tensorflow/tensorflow/core/example/
Dexample_parser_configuration.cc59 auto num_dense = attr_map.at("Ndense").i(); in ExtractExampleParserConfiguration() local
60 fixed_len_features->resize(num_dense); in ExtractExampleParserConfiguration()
68 if (tdense.list().type_size() != num_dense) { in ExtractExampleParserConfiguration()
71 " elements != Ndense attr: ", num_dense); in ExtractExampleParserConfiguration()
74 if (dense_shapes.list().shape_size() != num_dense) { in ExtractExampleParserConfiguration()
77 " elements != Ndense attr: ", num_dense); in ExtractExampleParserConfiguration()
113 int dense_defaults_start = dense_keys_start + num_dense; in ExtractExampleParserConfiguration()
121 for (int i = 0; i < num_dense; ++i) { in ExtractExampleParserConfiguration()
155 for (int i = 0; i < num_dense; ++i) { in ExtractExampleParserConfiguration()
/external/tensorflow/tensorflow/core/ops/
Dparsing_ops_test.cc88 auto set_outputs = [&op](int num_sparse, int num_dense, in TEST()
100 .Input(NodeOutList(num_dense, string_in)) in TEST()
101 .Input(NodeOutList(num_dense, string_in)) in TEST()
104 .Attr("dense_shapes", MakeDenseShapes(num_dense, add_extra_shape, in TEST()
305 auto set_outputs = [&op](int num_sparse, int num_dense, int num_ragged, in TEST()
319 .Input(NodeOutList(num_dense, string_in)) // dense_defaults in TEST()
324 .Attr("dense_shapes", MakeDenseShapes(num_dense, add_extra_shape, in TEST()
Dparsing_ops.cc88 void AddDenseLengthsShapes(int num_dense, const ShapeHandle& shape, in AddDenseLengthsShapes() argument
90 for (int i = 0; i < num_dense; ++i) { in AddDenseLengthsShapes()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_ParseExampleV2.pbtxt92 A list of `num_dense` shapes; the shapes of data in each Feature
93 given in dense_keys (where `num_dense = dense_keys.size()`).
/external/tensorflow/tensorflow/core/util/
Dexample_proto_helper.cc414 num_dense = dense_types.size(); in FinishInit()
423 if (static_cast<size_t>(num_dense) != dense_types.size()) { in FinishInit()
426 if (static_cast<size_t>(num_dense) != dense_shapes.size()) { in FinishInit()
437 if (num_dense > std::numeric_limits<int32>::max()) { in FinishInit()
Dexample_proto_helper.h174 TF_RETURN_IF_ERROR(ctx->GetAttr("Ndense", &num_dense));
190 int64 num_dense; member
/external/tensorflow/tensorflow/core/kernels/
Dexample_parsing_ops.cc151 if (dense_keys_t.size() != attrs_.num_dense) { in CheckInputShapes()
154 dense_keys_t.size(), " vs. ", attrs_.num_dense); in CheckInputShapes()
168 if (dense_defaults.size() != attrs_.num_dense) { in CheckInputShapes()
171 dense_defaults.size(), " vs. ", attrs_.num_dense); in CheckInputShapes()
174 for (int d = 0; d < static_cast<int>(attrs_.num_dense); ++d) { in CheckInputShapes()
214 config.dense.reserve(attrs_.num_dense); in MakeConfig()
215 for (int d = 0; d < attrs_.num_dense; ++d) { in MakeConfig()
265 for (int d = 0; d < attrs_.num_dense; ++d) { in WriteOutput()
/external/tensorflow/tensorflow/lite/kernels/parse_example/
Dparse_example.cc731 int num_dense = 0; in PrepareParseExample() local
739 num_dense = value.AsInt32(); in PrepareParseExample()
743 data->dense_size = num_dense; in PrepareParseExample()