Home
last modified time | relevance | path

Searched refs:dense_shapes (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/core/util/
Dexample_proto_helper.h162 TF_RETURN_IF_ERROR(ctx->GetAttr("dense_shapes", &dense_shapes)); in Init()
165 for (int i = 0; i < dense_shapes.size(); ++i) { in Init()
167 if (dense_shapes[i].dims() == -1) { in Init()
170 for (int d = 1; d < dense_shapes[i].dims(); ++d) { in Init()
171 if (dense_shapes[i].dim_size(d) == -1) { in Init()
180 dense_shapes[i].DebugString()); in Init()
183 if (dense_shapes[i].dims() > 0 && dense_shapes[i].dim_size(0) == -1) { in Init()
185 for (int d = 1; d < dense_shapes[i].dims(); ++d) { in Init()
186 dense_shape.AddDim(dense_shapes[i].dim_size(d)); in Init()
190 dense_shapes[i].AsTensorShape(&dense_shape); in Init()
[all …]
Dexample_proto_helper.cc412 if (static_cast<size_t>(num_dense) != dense_shapes.size()) { in FinishInit()
434 if (dense_keys.size() != dense_shapes.size()) { in FinishInit()
/external/tensorflow/tensorflow/python/ops/
Dparsing_ops.py214 dense_shapes = []
279 dense_shapes.append(feature.shape)
292 dense_shapes.append(feature.shape)
302 dense_shapes)
801 dense_shapes) = _features_to_raw_params(
806 dense_types, dense_defaults, dense_shapes, name)
817 dense_shapes=None, argument
855 dense_keys, dense_shapes, _) = _process_raw_parameters(
857 dense_types, dense_shapes)
866 dense_shapes=dense_shapes,
[all …]
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_ParseSingleExample.pbtxt17 If dense_defaults[j] is not empty, and dense_shapes[j] is fully defined,
18 then the shape of dense_defaults[j] must match that of dense_shapes[j].
19 If dense_shapes[j] has an undefined major dimension (variable strides dense
64 name: "dense_shapes"
69 always equal dense_shapes[j].NumEntries(). If dense_shapes[j] ==
71 will be (D0, D1, ..., DN): In the case dense_shapes[j] = (-1, D1,
Dapi_def_ParseExample.pbtxt42 If dense_defaults[j] is not empty, and dense_shapes[j] is fully defined,
43 then the shape of dense_defaults[j] must match that of dense_shapes[j].
44 If dense_shapes[j] has an undefined major dimension (variable strides dense
59 name: "dense_shapes"
64 must always equal dense_shapes[j].NumEntries().
65 If dense_shapes[j] == (D0, D1, ..., DN) then the shape of output
68 This works for dense_shapes[j] = (-1, D1, ..., DN). In this case
Dapi_def_ExperimentalParseExampleDataset.pbtxt43 name: "dense_shapes"
/external/tensorflow/tensorflow/python/util/
Dexample_parser_configuration.py46 dense_shapes = parse_example_op.get_attr("dense_shapes")
58 if len(dense_shapes) != num_dense:
61 (len(dense_shapes), num_dense))
102 tensor_shape.TensorShape(dense_shapes[i]).as_proto())
/external/tensorflow/tensorflow/core/kernels/
Dexample_parsing_ops_test.cc155 std::vector<PartialTensorShape> dense_shapes; in ParseExample() local
165 dense_shapes.push_back(PartialTensorShape({feature_size})); in ParseExample()
171 dense_shapes.push_back(PartialTensorShape({-1})); in ParseExample()
188 .Attr("dense_shapes", dense_shapes) in ParseExample()
207 std::vector<PartialTensorShape> dense_shapes; in ParseSingleExample() local
216 dense_shapes.push_back(PartialTensorShape({feature_size})); in ParseSingleExample()
222 dense_shapes.push_back(PartialTensorShape({-1})); in ParseSingleExample()
238 .Attr("dense_shapes", dense_shapes) in ParseSingleExample()
Dexample_parsing_ops.cc99 attrs_.dense_shapes[d].DebugString(), in Compute()
108 attrs_.dense_shapes[d].IsCompatibleWith(def_value.shape()), in Compute()
113 "] == ", attrs_.dense_shapes[d].DebugString())); in Compute()
127 attrs_.dense_shapes[d], dense_defaults[d], in Compute()
200 attrs_.dense_shapes[d].DebugString(), in Compute()
209 attrs_.dense_shapes[d].IsCompatibleWith(def_value.shape()), in Compute()
214 "] == ", attrs_.dense_shapes[d].DebugString())); in Compute()
229 attrs_.dense_shapes[d], dense_defaults[d], in Compute()
/external/tensorflow/tensorflow/core/kernels/fuzzing/
Dexample_proto_fast_parsing_fuzz.cc43 std::vector<PartialTensorShape> dense_shapes; in BuildGraph() local
44 dense_shapes.push_back(PartialTensorShape()); in BuildGraph()
48 dense_shapes); in BuildGraph()
/external/tensorflow/tensorflow/python/data/experimental/ops/
Dparsing_ops.py43 dense_shapes) = parsing_ops._features_to_raw_params(
49 (_, dense_defaults_vec, sparse_keys, sparse_types, dense_keys, dense_shapes,
52 dense_types, dense_shapes)
58 self._dense_shapes = dense_shapes
/external/tensorflow/tensorflow/core/example/
Dexample_parser_configuration.cc64 auto dense_shapes = attr_map.at("dense_shapes"); in ExtractExampleParserConfiguration() local
74 if (dense_shapes.list().shape_size() != num_dense) { in ExtractExampleParserConfiguration()
76 dense_shapes.list().shape_size(), in ExtractExampleParserConfiguration()
89 (*fixed_len_features)[i].shape = TensorShape(dense_shapes.list().shape(i)); in ExtractExampleParserConfiguration()
/external/tensorflow/tensorflow/core/ops/
Dparsing_ops.cc89 c->MakeShapeFromPartialTensorShape(attrs.dense_shapes[i], &dense)); in __anon952516500202()
132 c->MakeShapeFromPartialTensorShape(attrs.dense_shapes[i], &dense)); in __anon952516500302()
Dops.pbtxt11846 name: "dense_shapes"
22290 name: "dense_shapes"
22558 name: "dense_shapes"
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dparse_example_dataset_op.cc163 const std::vector<PartialTensorShape>& dense_shapes, in Dataset() argument
176 dense_shapes_(dense_shapes), in Dataset()
/external/tensorflow/tensorflow/core/example/testdata/
Dparse_example_graph_def.pbtxt309 key: "dense_shapes"
/external/tensorflow/tensorflow/python/kernel_tests/
Dsparse_ops_test.py802 dense_shapes = [(10, 10, 1), (5, 5), (1,), (1, 7)]
806 for sp_shape, dense_shape in zip(sp_shapes, dense_shapes):
845 dense_shapes = [(10, 10, 1), (5, 5), (1,), (1, 7)]
849 for sp_shape, dense_shape in zip(sp_shapes, dense_shapes):
/external/tensorflow/tensorflow/cc/saved_model/testdata/half_plus_two_pbtxt/00000123/
Dsaved_model.pbtxt267 name: "dense_shapes"
1176 key: "dense_shapes"
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dcontrol_flow_ops_test.py1101 dense_shapes = [num_iters, 3]
1103 manual = sparse_tensor.SparseTensor(indices, values, dense_shapes)
Dpfor.py2776 dense_shapes = pfor_input.get_attr("dense_shapes")
2784 dense_shapes=dense_shapes)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.raw_ops.pbtxt1137 …ense_defaults\', \'sparse_keys\', \'dense_keys\', \'sparse_types\', \'dense_shapes\', \'output_typ…
2297 …parse_keys\', \'dense_keys\', \'dense_defaults\', \'sparse_types\', \'dense_shapes\', \'name\'], v…
2305 … \'num_sparse\', \'sparse_keys\', \'dense_keys\', \'sparse_types\', \'dense_shapes\', \'name\'], v…
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.raw_ops.pbtxt1137 …ense_defaults\', \'sparse_keys\', \'dense_keys\', \'sparse_types\', \'dense_shapes\', \'output_typ…
2297 …parse_keys\', \'dense_keys\', \'dense_defaults\', \'sparse_types\', \'dense_shapes\', \'name\'], v…
2305 … \'num_sparse\', \'sparse_keys\', \'dense_keys\', \'sparse_types\', \'dense_shapes\', \'name\'], v…
/external/tensorflow/tensorflow/go/op/
Dwrappers.go11029 … []tf.Output, dense_defaults []tf.Output, sparse_types []tf.DataType, dense_shapes []tf.Shape) (sp…
11033 attrs := map[string]interface{}{"sparse_types": sparse_types, "dense_shapes": dense_shapes}
16343 …parse_keys []string, dense_keys []string, sparse_types []tf.DataType, dense_shapes []tf.Shape, out…
16347 …ense_keys": dense_keys, "sparse_types": sparse_types, "dense_shapes": dense_shapes, "output_types"…
16838 …parse_keys []string, dense_keys []string, sparse_types []tf.DataType, dense_shapes []tf.Shape) (sp…
16842 … sparse_keys, "dense_keys": dense_keys, "sparse_types": sparse_types, "dense_shapes": dense_shapes}
/external/tensorflow/tensorflow/c/
Dc_api_experimental.cc754 key: "dense_shapes" in CreateImagenetDatasetFunctions()
/external/tensorflow/tensorflow/core/ops/compat/
Dops_history.v2.pbtxt24163 name: "dense_shapes"
24233 name: "dense_shapes"
43498 name: "dense_shapes"
43766 name: "dense_shapes"

12