Home
last modified time | relevance | path

Searched refs:expected_num_elements (Results 1 – 8 of 8) sorted by relevance

/external/libchrome/mojo/public/cpp/bindings/lib/
Dvalidate_params.h42 : expected_num_elements(in_expected_num_elements), in ContainerValidateParams()
49 : expected_num_elements(in_expected_num_elements), in ContainerValidateParams()
61 uint32_t expected_num_elements = 0; variable
Darray_internal.h326 if (validate_params->expected_num_elements != 0 &&
327 header->num_elements != validate_params->expected_num_elements) {
334 validate_params->expected_num_elements).c_str());
Darray_serialization.h484 validate_params->expected_num_elements != 0 &&
485 size != validate_params->expected_num_elements,
489 validate_params->expected_num_elements));
/external/tensorflow/tensorflow/core/kernels/
Dinitializable_lookup_table.h139 virtual Status DoPrepare(size_t expected_num_elements) = 0;
145 int64 expected_num_elements = get_expected_num_elements(); in DoLazyPrepare() local
146 if (expected_num_elements < 0) { in DoLazyPrepare()
149 return DoPrepare(expected_num_elements); in DoLazyPrepare()
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dtake_while_test.py52 expected_num_elements = int(num_elements / window_size) * window_size
53 self.assertDatasetProduces(dataset, np.arange(expected_num_elements))
/external/tensorflow/tensorflow/core/ops/
Dlist_ops.cc237 int expected_num_elements = -1; in __anon9187032f0602() local
238 TF_RETURN_IF_ERROR(c->GetAttr("num_elements", &expected_num_elements)); in __anon9187032f0602()
240 if (expected_num_elements == -1) { in __anon9187032f0602()
243 num_elements = c->MakeShape({expected_num_elements}); in __anon9187032f0602()
/external/libchrome/mojo/public/tools/bindings/generators/
Dmojom_cpp_generator.py797 expected_num_elements = 0
803 expected_num_elements = 0
811 expected_num_elements = generator.ExpectedArraySize(kind) or 0
824 return "%d, %s, %s" % (expected_num_elements,
830 return "%d, %s" % (expected_num_elements, enum_validate_func)
/external/tensorflow/tensorflow/core/util/
Dexample_proto_fast_parsing.cc2352 size_t expected_num_elements = feature.length; in ParseContextSparseFeatures() local
2353 indices_shape.AddDim(expected_num_elements); in ParseContextSparseFeatures()
2355 values_shape.AddDim(expected_num_elements); in ParseContextSparseFeatures()
2385 if (num_elements != expected_num_elements) { in ParseContextSparseFeatures()
2414 size_t expected_num_elements = feature.length; in ParseContextRaggedFeatures() local
2415 values_shape.AddDim(expected_num_elements); in ParseContextRaggedFeatures()
2457 if (split != expected_num_elements) { in ParseContextRaggedFeatures()
2643 size_t expected_num_elements = feature.length; in ParseSequenceSparseFeatures() local
2644 indices_shape.AddDim(expected_num_elements); in ParseSequenceSparseFeatures()
2646 values_shape.AddDim(expected_num_elements); in ParseSequenceSparseFeatures()
[all …]