Home
last modified time | relevance | path

Searched refs:cardinality (Results 1 – 25 of 79) sorted by relevance

1234

/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dcardinality_test.py22 from tensorflow.python.data.experimental.ops import cardinality
41 cardinality.UNKNOWN),
43 cardinality.INFINITE),
50 dataset_ops.Dataset.range(5)), cardinality.UNKNOWN),
52 concatenate(dataset_ops.Dataset.range(5)), cardinality.INFINITE),
55 cardinality.UNKNOWN),
59 cardinality.UNKNOWN),
62 cardinality.INFINITE),
64 dataset_ops.Dataset.range(5).repeat()), cardinality.INFINITE),
67 dataset_ops.Dataset.range(5).repeat()), cardinality.INFINITE),
[all …]
/external/grpc-grpc/src/python/grpcio/grpc/framework/interfaces/face/
Dutilities.py19 from grpc.framework.common import cardinality
52 return _MethodImplementation(cardinality.Cardinality.UNARY_UNARY,
68 return _MethodImplementation(cardinality.Cardinality.UNARY_STREAM,
84 return _MethodImplementation(cardinality.Cardinality.STREAM_UNARY,
100 return _MethodImplementation(cardinality.Cardinality.STREAM_STREAM,
116 return _MethodImplementation(cardinality.Cardinality.UNARY_UNARY,
132 return _MethodImplementation(cardinality.Cardinality.UNARY_STREAM,
149 return _MethodImplementation(cardinality.Cardinality.STREAM_UNARY,
166 return _MethodImplementation(cardinality.Cardinality.STREAM_STREAM,
/external/clang/utils/ABITest/
DTypeGen.py207 assert 0 <= N < self.cardinality
221 self.cardinality = len(self.types)
257 self.cardinality = 0
259 self.cardinality += num_combinations(len(self.values), num)
290 self.cardinality = self.typeGen.cardinality
303 self.cardinality = len(self.sizes)*self.typeGen.cardinality
306 S,T = getNthPairBounded(N, len(self.sizes), self.typeGen.cardinality)
317 self.cardinality = len(self.sizes)*self.typeGen.cardinality
320 S,T = getNthPairBounded(N, len(self.sizes), self.typeGen.cardinality)
334 self.cardinality = self.W * self.typeGen.cardinality
[all …]
/external/grpc-grpc/src/python/grpcio/grpc/beta/
D_server_adaptations.py23 from grpc.framework.common import cardinality
260 if implementation.cardinality is cardinality.Cardinality.UNARY_UNARY:
266 elif implementation.cardinality is cardinality.Cardinality.UNARY_STREAM:
272 elif implementation.cardinality is cardinality.Cardinality.STREAM_UNARY:
278 elif implementation.cardinality is cardinality.Cardinality.STREAM_STREAM:
285 if implementation.cardinality is cardinality.Cardinality.UNARY_UNARY:
291 elif implementation.cardinality is cardinality.Cardinality.UNARY_STREAM:
297 elif implementation.cardinality is cardinality.Cardinality.STREAM_UNARY:
303 elif implementation.cardinality is cardinality.Cardinality.STREAM_STREAM:
D_client_adaptations.py20 from grpc.framework.common import cardinality
667 if method_cardinality is cardinality.Cardinality.UNARY_UNARY:
669 elif method_cardinality is cardinality.Cardinality.UNARY_STREAM:
671 elif method_cardinality is cardinality.Cardinality.STREAM_UNARY:
673 elif method_cardinality is cardinality.Cardinality.STREAM_STREAM:
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_ExperimentalDatasetCardinality.pbtxt7 A variant tensor representing the dataset to return cardinality for.
11 name: "cardinality"
13 The cardinality of `input_dataset`. Named constants are used to represent
14 infinite and unknown cardinality.
17 summary: "Returns the cardinality of `input_dataset`."
19 Returns the cardinality of `input_dataset`.
/external/grpc-grpc/src/python/grpcio/grpc/framework/common/
DBUILD.bazel8 ":cardinality",
14 name = "cardinality",
15 srcs = ["cardinality.py"],
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/beta/
D_beta_features_test.py21 from grpc.framework.common import cardinality
155 _UNARY_UNARY: cardinality.Cardinality.UNARY_UNARY,
156 _UNARY_STREAM: cardinality.Cardinality.UNARY_STREAM,
157 _STREAM_UNARY: cardinality.Cardinality.STREAM_UNARY,
158 _STREAM_STREAM: cardinality.Cardinality.STREAM_STREAM,
286 _UNARY_UNARY: cardinality.Cardinality.UNARY_UNARY,
287 _UNARY_STREAM: cardinality.Cardinality.UNARY_STREAM,
288 _STREAM_UNARY: cardinality.Cardinality.STREAM_UNARY,
289 _STREAM_STREAM: cardinality.Cardinality.STREAM_STREAM,
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dchoose_fastest_dataset_op.cc94 int64 cardinality = inputs[0]->Cardinality(); in MakeDataset() local
96 if (cardinality == kUnknownCardinality) { in MakeDataset()
97 cardinality = inputs[i]->Cardinality(); in MakeDataset()
101 inputs[i]->Cardinality() == cardinality || in MakeDataset()
107 ", while all prior inputs have cardinality: ", cardinality, in MakeDataset()
112 cardinality, num_experiments_); in MakeDataset()
121 int64 cardinality, int64 num_experiments) in Dataset() argument
126 cardinality_(cardinality), in Dataset()
/external/emma/core/java12/com/vladium/util/args/
DOptsParser.java230 final int [] cardinality = optdef.getValueCardinality (); in parse() local
232 if (cardinality [1] < 1) in parse()
248 final int [] cardinality = optdef.getValueCardinality (); in parse() local
252 if (valueCount < cardinality [0]) in parse()
254 …age ("option \'" + opt.getName () + "\' does not accept fewer than " + cardinality [0] + " value(s… in parse()
263 if (valueCount < cardinality [1]) in parse()
316 final int [] cardinality = optdef.getValueCardinality (); in parse() local
318 if (valueCount < cardinality [0]) in parse()
320 …age ("option \'" + opt.getName () + "\' does not accept fewer than " + cardinality [0] + " value(s… in parse()
442 final int [] cardinality = optdef.getValueCardinality (); in isOpt() local
[all …]
/external/cldr/tools/java/org/unicode/cldr/draft/
DIdentifierInfo.java103 if (temp.cardinality() == 0) { in setIdentifier()
106 } else if (temp.cardinality() == 1) { in setIdentifier()
158 if (temp.cardinality() == 0) { in isMultiScript()
164 if (temp.cardinality() != 0 && setOfScriptSets.add(temp)) { in isMultiScript()
184 return temp.cardinality() != 0; in isMultiScript()
255 …final int cardinalityPlus = temp.cardinality() + (commonAmongAlternates.isEmpty() ? scriptSetSet.s… in getRestrictionLevel()
/external/tensorflow/tensorflow/python/data/experimental/
D__init__.py88 from tensorflow.python.data.experimental.ops.cardinality import cardinality
89 from tensorflow.python.data.experimental.ops.cardinality import INFINITE as INFINITE_CARDINALITY
90 from tensorflow.python.data.experimental.ops.cardinality import UNKNOWN as UNKNOWN_CARDINALITY
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DTestUScript.java99 if(UScript.getScriptExtensions(-1, scripts)!=UScript.UNKNOWN || scripts.cardinality()!=1 || in TestGetScriptExtensions()
103 … if(UScript.getScriptExtensions(0x110000, scripts)!=UScript.UNKNOWN || scripts.cardinality()!=1 || in TestGetScriptExtensions()
109 … if(UScript.getScriptExtensions(0x063f, scripts)!=UScript.ARABIC || scripts.cardinality()!=1 || in TestGetScriptExtensions()
113 if(UScript.getScriptExtensions(0x0640, scripts)>-3 || scripts.cardinality()<3 || in TestGetScriptExtensions()
118 if(UScript.getScriptExtensions(0xfdf2, scripts)!=-2 || scripts.cardinality()!=2 || in TestGetScriptExtensions()
122 if(UScript.getScriptExtensions(0xff65, scripts)!=-6 || scripts.cardinality()!=6 || in TestGetScriptExtensions()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DTestUScript.java102 if(UScript.getScriptExtensions(-1, scripts)!=UScript.UNKNOWN || scripts.cardinality()!=1 || in TestGetScriptExtensions()
106 … if(UScript.getScriptExtensions(0x110000, scripts)!=UScript.UNKNOWN || scripts.cardinality()!=1 || in TestGetScriptExtensions()
112 … if(UScript.getScriptExtensions(0x063f, scripts)!=UScript.ARABIC || scripts.cardinality()!=1 || in TestGetScriptExtensions()
116 if(UScript.getScriptExtensions(0x0640, scripts)>-3 || scripts.cardinality()<3 || in TestGetScriptExtensions()
121 if(UScript.getScriptExtensions(0xfdf2, scripts)!=-2 || scripts.cardinality()!=2 || in TestGetScriptExtensions()
125 if(UScript.getScriptExtensions(0xff65, scripts)!=-6 || scripts.cardinality()!=6 || in TestGetScriptExtensions()
/external/apache-commons-bcel/docs/
Dclassfile.mdl338 client_cardinality (value cardinality "1")
345 client_cardinality (value cardinality "n")
354 client_cardinality (value cardinality "1")
361 client_cardinality (value cardinality "n")
376 client_cardinality (value cardinality "n")
385 client_cardinality (value cardinality "1")
392 client_cardinality (value cardinality "0..1")
407 client_cardinality (value cardinality "0..1")
422 client_cardinality (value cardinality "1")
437 client_cardinality (value cardinality "1")
[all …]
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_dataset_test.py28 from tensorflow.python.data.experimental.ops import cardinality
448 self.assertEqual(keras.backend.get_value(cardinality.cardinality(dataset)),
449 cardinality.UNKNOWN)
486 keras.backend.get_value(cardinality.cardinality(dataset)),
487 cardinality.UNKNOWN)
520 keras.backend.get_value(cardinality.cardinality(dataset)),
521 cardinality.UNKNOWN)
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckExemplars.java305 final int cardinality = s.cardinality(); in checkMixedScripts() local
306 if (cardinality < 2) { in checkMixedScripts()
309 if (cardinality == 2 && title.equals("currencySymbol") && s.get(UScript.LATIN)) { in checkMixedScripts()
/external/protobuf/src/google/protobuf/
Dtype.proto107 // For fields with unknown cardinality.
119 // The field cardinality.
120 Cardinality cardinality = 2; field
/external/google-breakpad/src/testing/src/
Dgmock-spec-builders.cc156 cardinality().DescribeTo(os); in DescribeCallCountTo()
193 const int upper_bound = cardinality().ConservativeUpperBound(); in CheckActionCountIfNotDone()
194 const int lower_bound = cardinality().ConservativeLowerBound(); in CheckActionCountIfNotDone()
212 cardinality().DescribeTo(&ss); in CheckActionCountIfNotDone()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/src/
Dgmock-spec-builders.cc156 cardinality().DescribeTo(os); in DescribeCallCountTo()
193 const int upper_bound = cardinality().ConservativeUpperBound(); in CheckActionCountIfNotDone()
194 const int lower_bound = cardinality().ConservativeLowerBound(); in CheckActionCountIfNotDone()
212 cardinality().DescribeTo(&ss); in CheckActionCountIfNotDone()
/external/tensorflow/tensorflow/python/data/experimental/ops/
Dcardinality.py33 def cardinality(dataset): function
/external/protobuf/src/google/protobuf/util/
Dtype_resolver_util_test.cc84 bool HasField(const Type& type, Field::Cardinality cardinality, in HasField() argument
90 return field->cardinality() == cardinality && in HasField()
/external/cldr/tools/java/org/unicode/cldr/tool/
DShowKeyboards.java611 int cardinality = outputBitset.cardinality(); in getScriptExtensions() local
612 if (cardinality > 1) { in getScriptExtensions()
615 --cardinality; in getScriptExtensions()
617 if (cardinality > 1) { in getScriptExtensions()
620 --cardinality; in getScriptExtensions()
624 if (cardinality == 1) { in getScriptExtensions()
627 return -cardinality; in getScriptExtensions()
/external/googletest/googlemock/src/
Dgmock-spec-builders.cc188 cardinality().DescribeTo(os); in DescribeCallCountTo()
225 const int upper_bound = cardinality().ConservativeUpperBound(); in CheckActionCountIfNotDone()
226 const int lower_bound = cardinality().ConservativeLowerBound(); in CheckActionCountIfNotDone()
244 cardinality().DescribeTo(&ss); in CheckActionCountIfNotDone()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/flow/
DInstruction.java130 return coveredBranches.cardinality(); in getCoveredBranches()

1234