Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/util/
Dexample_parser_configuration.py41 num_dense = parse_example_op.get_attr("Ndense")
42 total_features = num_dense + num_sparse
53 if len(dense_types) != num_dense:
56 (len(dense_types), num_dense))
58 if len(dense_shapes) != num_dense:
61 (len(dense_shapes), num_dense))
67 if len(fetch_list) != (total_features + num_dense):
70 (len(fetch_list), (total_features + num_dense)))
81 dense_def_start = dense_keys_start + num_dense
90 for i in range(num_dense):
/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()
120 for (int i = 0; i < num_dense; ++i) { in ExtractExampleParserConfiguration()
154 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()
103 .Attr("dense_types", DataTypeList(num_dense, DT_FLOAT)) in TEST()
104 .Attr("dense_shapes", MakeDenseShapes(num_dense, add_extra_shape, in TEST()
Dparsing_ops.cc86 for (int i = 0; i < attrs.num_dense; ++i) { in __anon952516500202()
/external/tensorflow/tensorflow/python/ops/
Dparsing_ops.py925 num_dense = len(dense_keys)
928 if len(dense_shapes) != num_dense:
930 (len(dense_shapes), num_dense))
931 if len(dense_types) != num_dense:
933 (len(dense_types), num_dense))
937 if num_dense + num_sparse == 0:
2056 num_dense = len(dense_keys)
2059 if len(dense_shapes) != num_dense:
2061 (len(dense_shapes), num_dense))
2062 if len(dense_types) != num_dense:
[all …]
/external/tensorflow/tensorflow/contrib/boosted_trees/estimator_batch/
Dcustom_export_strategy.py112 num_dense, num_sparse_float, argument
165 feature_id = split.feature_column + num_dense
182 feature_id = split.feature_column + num_dense
196 feature_id = split.feature_column + num_dense + num_sparse_float
/external/tensorflow/tensorflow/contrib/boosted_trees/examples/
Dboston.py79 def _convert_fn(dtec, sorted_feature_names, num_dense, num_sparse_float, argument
82 dtec, sorted_feature_names, num_dense, num_sparse_float, num_sparse_int)
/external/tensorflow/tensorflow/core/kernels/
Dexample_parsing_ops.cc57 std::vector<string> dense_keys_t(attrs_.num_dense); in Compute()
61 CHECK_EQ(dense_keys.size(), attrs_.num_dense); in Compute()
65 for (int di = 0; di < attrs_.num_dense; ++di) { in Compute()
88 OP_REQUIRES(ctx, dense_defaults.size() == attrs_.num_dense, in Compute()
91 dense_defaults.size(), " vs. ", attrs_.num_dense)); in Compute()
93 for (int d = 0; d < static_cast<int>(attrs_.num_dense); ++d) { in Compute()
125 for (int d = 0; d < attrs_.num_dense; ++d) { in Compute()
154 for (int d = 0; d < attrs_.num_dense; ++d) { in Compute()
/external/tensorflow/tensorflow/core/util/
Dexample_proto_helper.h159 TF_RETURN_IF_ERROR(ctx->GetAttr("Ndense", &num_dense)); in Init()
198 int64 num_dense; variable
Dexample_proto_helper.cc409 if (static_cast<size_t>(num_dense) != dense_types.size()) { in FinishInit()
412 if (static_cast<size_t>(num_dense) != dense_shapes.size()) { in FinishInit()
415 if (num_dense > std::numeric_limits<int32>::max()) { in FinishInit()