Home
last modified time | relevance | path

Searched refs:expected_num_elements (Results 1 – 9 of 9) 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.h180 virtual Status DoPrepare(size_t expected_num_elements) = 0;
186 int64_t expected_num_elements = get_expected_num_elements(); in DoLazyPrepare() local
187 if (expected_num_elements < 0) { in DoLazyPrepare()
190 return DoPrepare(expected_num_elements); in DoLazyPrepare()
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dtake_while_test.py46 expected_num_elements = int(num_elements / window_size) * window_size
47 self.assertDatasetProduces(dataset, np.arange(expected_num_elements))
/external/cronet/components/cronet/tools/generators/
Dcronet_c_generator.py778 expected_num_elements = 0
784 expected_num_elements = 0
792 expected_num_elements = generator.ExpectedArraySize(kind) or 0
805 return "%d, %s, %s" % (expected_num_elements,
809 return "%d, %s" % (expected_num_elements, enum_validate_func)
/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/ops/
Dlist_ops.cc251 int expected_num_elements = -1; in __anon6c1e81940602() local
252 TF_RETURN_IF_ERROR(c->GetAttr("num_elements", &expected_num_elements)); in __anon6c1e81940602()
254 if (expected_num_elements == -1) { in __anon6c1e81940602()
257 num_elements = c->MakeShape({expected_num_elements}); in __anon6c1e81940602()
/external/tensorflow/tensorflow/core/util/
Dexample_proto_fast_parsing.cc2368 size_t expected_num_elements = feature.length; in ParseContextSparseFeatures() local
2369 indices_shape.AddDim(expected_num_elements); in ParseContextSparseFeatures()
2371 values_shape.AddDim(expected_num_elements); in ParseContextSparseFeatures()
2402 if (num_elements != expected_num_elements) { in ParseContextSparseFeatures()
2431 size_t expected_num_elements = feature.length; in ParseContextRaggedFeatures() local
2432 values_shape.AddDim(expected_num_elements); in ParseContextRaggedFeatures()
2474 if (split != expected_num_elements) { in ParseContextRaggedFeatures()
2661 size_t expected_num_elements = feature.length; in ParseSequenceSparseFeatures() local
2662 indices_shape.AddDim(expected_num_elements); in ParseSequenceSparseFeatures()
2664 values_shape.AddDim(expected_num_elements); in ParseSequenceSparseFeatures()
[all …]