/external/tensorflow/tensorflow/core/util/ |
D | example_proto_helper.h | 162 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 …]
|
D | example_proto_helper.cc | 412 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/ |
D | parsing_ops.py | 214 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/ |
D | api_def_ParseSingleExample.pbtxt | 17 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,
|
D | api_def_ParseExample.pbtxt | 42 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
|
D | api_def_ExperimentalParseExampleDataset.pbtxt | 43 name: "dense_shapes"
|
/external/tensorflow/tensorflow/python/util/ |
D | example_parser_configuration.py | 46 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/ |
D | example_parsing_ops_test.cc | 155 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()
|
D | example_parsing_ops.cc | 99 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/ |
D | example_proto_fast_parsing_fuzz.cc | 43 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/ |
D | parsing_ops.py | 43 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/ |
D | example_parser_configuration.cc | 64 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/ |
D | parsing_ops.cc | 89 c->MakeShapeFromPartialTensorShape(attrs.dense_shapes[i], &dense)); in __anon952516500202() 132 c->MakeShapeFromPartialTensorShape(attrs.dense_shapes[i], &dense)); in __anon952516500302()
|
D | ops.pbtxt | 11846 name: "dense_shapes" 22290 name: "dense_shapes" 22558 name: "dense_shapes"
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | parse_example_dataset_op.cc | 163 const std::vector<PartialTensorShape>& dense_shapes, in Dataset() argument 176 dense_shapes_(dense_shapes), in Dataset()
|
/external/tensorflow/tensorflow/core/example/testdata/ |
D | parse_example_graph_def.pbtxt | 309 key: "dense_shapes"
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | sparse_ops_test.py | 802 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/ |
D | saved_model.pbtxt | 267 name: "dense_shapes" 1176 key: "dense_shapes"
|
/external/tensorflow/tensorflow/python/ops/parallel_for/ |
D | control_flow_ops_test.py | 1101 dense_shapes = [num_iters, 3] 1103 manual = sparse_tensor.SparseTensor(indices, values, dense_shapes)
|
D | pfor.py | 2776 dense_shapes = pfor_input.get_attr("dense_shapes") 2784 dense_shapes=dense_shapes)
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.raw_ops.pbtxt | 1137 …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/ |
D | tensorflow.raw_ops.pbtxt | 1137 …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/ |
D | wrappers.go | 11029 … []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/ |
D | c_api_experimental.cc | 754 key: "dense_shapes" in CreateImagenetDatasetFunctions()
|
/external/tensorflow/tensorflow/core/ops/compat/ |
D | ops_history.v2.pbtxt | 24163 name: "dense_shapes" 24233 name: "dense_shapes" 43498 name: "dense_shapes" 43766 name: "dense_shapes"
|