/external/tensorflow/tensorflow/python/util/ |
D | example_parser_configuration.py | 40 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/ |
D | example_parser_configuration.cc | 58 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/ |
D | example_proto_helper.h | 160 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()
|
D | example_proto_helper.cc | 406 if (static_cast<size_t>(num_sparse) != sparse_types.size()) { in FinishInit()
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_ParseSingleExample.pbtxt | 25 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/ |
D | parsing_ops_test.cc | 88 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()
|
D | parsing_ops.cc | 75 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()
|
D | ops.pbtxt | 22503 number_attr: "num_sparse" 22512 number_attr: "num_sparse" 22519 name: "num_sparse"
|
/external/tensorflow/tensorflow/python/ops/ |
D | parsing_ops.py | 926 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/ |
D | input_data.cc | 127 const int32 num_sparse = tensorforest::GetNumSparseFeatures( in RandomSample() local 130 num_total_features += num_sparse; in RandomSample()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | example_parsing_ops.cc | 58 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/ |
D | c_api_experimental.cc | 769 key: "num_sparse" in CreateImagenetDatasetFunctions()
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.raw_ops.pbtxt | 2305 …argspec: "args=[\'serialized\', \'dense_defaults\', \'num_sparse\', \'sparse_keys\', \'dense_keys\…
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.raw_ops.pbtxt | 2305 …argspec: "args=[\'serialized\', \'dense_defaults\', \'num_sparse\', \'sparse_keys\', \'dense_keys\…
|
/external/tensorflow/tensorflow/go/op/ |
D | wrappers.go | 16838 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/ |
D | ops_history.v2.pbtxt | 43711 number_attr: "num_sparse" 43720 number_attr: "num_sparse" 43727 name: "num_sparse"
|
D | ops_history.v1.pbtxt | 44234 number_attr: "num_sparse" 44243 number_attr: "num_sparse" 44250 name: "num_sparse"
|