Home
last modified time | relevance | path

Searched refs:num_sparse (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/python/util/
Dexample_parser_configuration.py40 num_sparse = parse_example_op.get_attr("Nsparse")
42 total_features = num_dense + num_sparse
48 if len(sparse_types) != num_sparse:
51 (len(sparse_types), num_sparse))
80 dense_keys_start = sparse_keys_start + num_sparse
85 sparse_values_start = num_sparse
86 sparse_shapes_start = sparse_values_start + num_sparse
87 dense_values_start = sparse_shapes_start + num_sparse
110 for i in range(num_sparse):
/external/tensorflow/tensorflow/core/example/
Dexample_parser_configuration.cc58 auto num_sparse = attr_map.at("Nsparse").i(); in ExtractExampleParserConfiguration() local
61 var_len_features->resize(num_sparse); in ExtractExampleParserConfiguration()
80 if (sparse_types.list().type_size() != num_sparse) { in ExtractExampleParserConfiguration()
83 " elements != NSparse attr: ", num_sparse); in ExtractExampleParserConfiguration()
112 int dense_keys_start = sparse_keys_start + num_sparse; in ExtractExampleParserConfiguration()
115 for (int i = 0; i < num_sparse; ++i) { in ExtractExampleParserConfiguration()
132 int sparse_values_output_start = sparse_indices_output_start + num_sparse; in ExtractExampleParserConfiguration()
133 int sparse_shapes_output_start = sparse_values_output_start + num_sparse; in ExtractExampleParserConfiguration()
134 int dense_values_output_start = sparse_shapes_output_start + num_sparse; in ExtractExampleParserConfiguration()
138 for (int i = 0; i < num_sparse; ++i) { in ExtractExampleParserConfiguration()
/external/tensorflow/tensorflow/core/util/
Dexample_proto_helper.h160 TF_RETURN_IF_ERROR(ctx->GetAttr("Nsparse", &num_sparse)); in Init()
197 int64 num_sparse; variable
221 int num_sparse; in Init() local
222 TF_RETURN_IF_ERROR(ctx->GetAttr("num_sparse", &num_sparse)); in Init()
223 if (num_sparse != sparse_keys.size() || num_sparse != sparse_types.size()) { in Init()
225 "num_sparse (", num_sparse, ") must match the size of sparse_keys (", in Init()
Dexample_proto_helper.cc406 if (static_cast<size_t>(num_sparse) != sparse_types.size()) { in FinishInit()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_ParseSingleExample.pbtxt25 name: "num_sparse"
34 A list of `num_sparse` strings.
48 A list of `num_sparse` types; the data types of data in each
/external/tensorflow/tensorflow/core/ops/
Dparsing_ops_test.cc88 auto set_outputs = [&op](int num_sparse, int num_dense, in TEST()
99 .Input(NodeOutList(num_sparse, string_in)) in TEST()
102 .Attr("sparse_types", DataTypeList(num_sparse, DT_FLOAT)) in TEST()
Dparsing_ops.cc75 for (int i = 0; i < attrs.num_sparse; ++i) { in __anon952516500202()
78 for (int i = 0; i < attrs.num_sparse; ++i) { in __anon952516500202()
81 for (int i = 0; i < attrs.num_sparse; ++i) { in __anon952516500202()
Dops.pbtxt22503 number_attr: "num_sparse"
22512 number_attr: "num_sparse"
22519 name: "num_sparse"
/external/tensorflow/tensorflow/python/ops/
Dparsing_ops.py926 num_sparse = len(sparse_keys)
934 if len(sparse_types) != num_sparse:
936 (len(sparse_types), num_sparse))
937 if num_dense + num_sparse == 0:
2057 num_sparse = len(sparse_keys)
2065 if len(sparse_types) != num_sparse:
2067 (len(sparse_types), num_sparse))
2068 if num_dense + num_sparse == 0:
2115 num_sparse=len(sparse_keys),
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/
Dinput_data.cc127 const int32 num_sparse = tensorforest::GetNumSparseFeatures( in RandomSample() local
130 num_total_features += num_sparse; in RandomSample()
/external/tensorflow/tensorflow/core/kernels/
Dexample_parsing_ops.cc58 std::vector<string> sparse_keys_t(attrs_.num_sparse); in Compute()
62 CHECK_EQ(sparse_keys.size(), attrs_.num_sparse); in Compute()
68 for (int di = 0; di < attrs_.num_sparse; ++di) { in Compute()
131 for (int d = 0; d < attrs_.num_sparse; ++d) { in Compute()
157 for (int d = 0; d < attrs_.num_sparse; ++d) { in Compute()
/external/tensorflow/tensorflow/c/
Dc_api_experimental.cc769 key: "num_sparse" in CreateImagenetDatasetFunctions()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.raw_ops.pbtxt2305 …argspec: "args=[\'serialized\', \'dense_defaults\', \'num_sparse\', \'sparse_keys\', \'dense_keys\…
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.raw_ops.pbtxt2305 …argspec: "args=[\'serialized\', \'dense_defaults\', \'num_sparse\', \'sparse_keys\', \'dense_keys\…
/external/tensorflow/tensorflow/go/op/
Dwrappers.go16838 func ParseSingleExample(scope *Scope, serialized tf.Output, dense_defaults []tf.Output, num_sparse
16842 …attrs := map[string]interface{}{"num_sparse": num_sparse, "sparse_keys": sparse_keys, "dense_keys"…
/external/tensorflow/tensorflow/core/ops/compat/
Dops_history.v2.pbtxt43711 number_attr: "num_sparse"
43720 number_attr: "num_sparse"
43727 name: "num_sparse"
Dops_history.v1.pbtxt44234 number_attr: "num_sparse"
44243 number_attr: "num_sparse"
44250 name: "num_sparse"