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.h135 virtual Status DoPrepare(size_t expected_num_elements) = 0;
141 int64 expected_num_elements = get_expected_num_elements(); in DoLazyPrepare() local
142 if (expected_num_elements < 0) { in DoLazyPrepare()
145 return DoPrepare(expected_num_elements); in DoLazyPrepare()
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dtake_while_test.py49 expected_num_elements = int(num_elements / window_size) * window_size
50 self.assertDatasetProduces(dataset, np.arange(expected_num_elements))
/external/tensorflow/tensorflow/core/ops/
Dlist_ops.cc226 int expected_num_elements = -1; in __anonebbd57d80602() local
227 TF_RETURN_IF_ERROR(c->GetAttr("num_elements", &expected_num_elements)); in __anonebbd57d80602()
229 if (expected_num_elements == -1) { in __anonebbd57d80602()
232 num_elements = c->MakeShape({expected_num_elements}); in __anonebbd57d80602()
/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.cc2120 size_t expected_num_elements = in FastParseSequenceExample() local
2122 indices_shape.AddDim(expected_num_elements); in FastParseSequenceExample()
2124 values_shape.AddDim(expected_num_elements); in FastParseSequenceExample()
2188 if (num_elements != expected_num_elements) { in FastParseSequenceExample()
2318 size_t expected_num_elements = in FastParseSequenceExample() local
2320 indices_shape.AddDim(expected_num_elements); in FastParseSequenceExample()
2322 values_shape.AddDim(expected_num_elements); in FastParseSequenceExample()
2414 if (num_elements != expected_num_elements) { in FastParseSequenceExample()