HomeSort by relevance Sort by last modified time
    Searched refs:sparse_types (Results 1 - 13 of 13) sorted by null

  /external/tensorflow/tensorflow/python/util/
example_parser_configuration.py 44 sparse_types = parse_example_op.get_attr("sparse_types")
48 if len(sparse_types) != num_sparse:
49 raise ValueError("len(sparse_types) attribute does not match "
51 (len(sparse_types), num_sparse))
114 var_len_feature.dtype = sparse_types[i].as_datatype_enum
  /external/tensorflow/tensorflow/core/kernels/fuzzing/
example_proto_fast_parsing_fuzz.cc 42 DataTypeSlice sparse_types = {}; variable
47 sparse_keys, dense_keys, dense_defaults, sparse_types,
  /external/tensorflow/tensorflow/python/ops/
parsing_ops.py 198 Tuple of `sparse_keys`, `sparse_types`, `dense_keys`, `dense_types`,
206 sparse_types = []
225 sparse_types.append(feature.dtype)
247 dtype = sparse_types[sparse_keys.index(index_key)]
253 sparse_types.append(dtypes.int64)
255 dtype = sparse_types[sparse_keys.index(feature.value_key)]
261 sparse_types.append(feature.dtype)
301 sparse_keys, sparse_types, dense_keys, dense_types, dense_defaults,
800 (sparse_keys, sparse_types, dense_keys, dense_types, dense_defaults,
805 serialized, example_names, sparse_keys, sparse_types, dense_keys
    [all...]
  /external/tensorflow/tensorflow/python/data/experimental/ops/
parsing_ops.py 42 (sparse_keys, sparse_types, dense_keys, dense_types, dense_defaults,
49 (_, dense_defaults_vec, sparse_keys, sparse_types, dense_keys, dense_shapes,
51 None, dense_defaults, sparse_keys, sparse_types, dense_keys,
55 self._sparse_types = sparse_types
  /external/tensorflow/tensorflow/core/example/
example_parser_configuration.cc 65 auto sparse_types = attr_map.at("sparse_types"); local
80 if (sparse_types.list().type_size() != num_sparse) {
81 return errors::InvalidArgument("Node attr sparse_types has ",
82 sparse_types.list().type_size(),
92 for (int i = 0; i < sparse_types.list().type_size(); ++i) {
93 (*var_len_features)[i].dtype = sparse_types.list().type(i);
  /external/tensorflow/tensorflow/core/util/
example_proto_helper.h 158 TF_RETURN_IF_ERROR(ctx->GetAttr("sparse_types", &sparse_types));
199 std::vector<DataType> sparse_types; member in class:tensorflow::ParseExampleAttrs
216 TF_RETURN_IF_ERROR(ctx->GetAttr("sparse_types", &sparse_types));
223 if (num_sparse != sparse_keys.size() || num_sparse != sparse_types.size()) {
226 sparse_keys.size(), ") and sparse_types (", sparse_types.size(), ")");
264 std::vector<DataType> sparse_types; member in class:tensorflow::ParseSingleExampleAttrs
example_proto_helper.cc 406 if (static_cast<size_t>(num_sparse) != sparse_types.size()) {
407 return errors::InvalidArgument("len(sparse_keys) != len(sparse_types)");
421 for (const DataType& type : sparse_types) {
428 if (sparse_keys.size() != sparse_types.size()) {
429 return errors::InvalidArgument("len(sparse_keys) != len(sparse_types)");
440 for (const DataType& type : sparse_types) {
  /external/tensorflow/tensorflow/core/kernels/
example_parsing_ops_test.cc 154 std::vector<DataType> sparse_types; local
175 sparse_types.push_back(opt.filler.dtype);
187 .Attr("sparse_types", sparse_types)
206 std::vector<DataType> sparse_types; local
225 sparse_keys.push_back(key), sparse_types.push_back(opt.filler.dtype);
236 .Attr("sparse_types", sparse_types)
example_parsing_ops.cc 132 config.sparse.push_back({sparse_keys_t[d], attrs_.sparse_types[d]});
234 config.sparse.push_back({attrs_.sparse_keys[d], attrs_.sparse_types[d]});
    [all...]
  /external/tensorflow/tensorflow/core/kernels/data/experimental/
parse_example_dataset_op.cc 36 OP_REQUIRES_OK(ctx, ctx->GetAttr("sparse_types", &sparse_types_));
161 const DataTypeVector& sparse_types,
174 sparse_types_(sparse_types),
251 {"sparse_types", sparse_types_attr},
  /external/tensorflow/tensorflow/python/ops/parallel_for/
pfor.py     [all...]
  /external/tensorflow/tensorflow/c/
c_api_experimental.cc 787 key: "sparse_types"
    [all...]
  /external/tensorflow/tensorflow/go/op/
wrappers.go     [all...]

Completed in 1263 milliseconds