/external/tensorflow/tensorflow/python/kernel_tests/ |
parsing_ops_test.py | 45 features = lambda d: feature_pb2.Features(feature=d) variable 111 for k, f in kwargs["features"].items(): 153 "features": { 188 original = example(features=features({"c": feature()})) 193 "features": input_features, 204 "features": input_features, 212 example(features=features({ [all...] |
softmax_op_test.py | 35 def _npSoftmax(self, features, dim=-1, log=False): 37 dim = len(features.shape) - 1 38 one_only_on_dim = list(features.shape) 40 e = np.exp(features - np.reshape( 42 features, axis=dim), one_only_on_dim)) 69 def _testAll(self, features): 70 self._testSoftmax(features, use_gpu=True) 71 self._testSoftmax(features, log=True, use_gpu=True) 75 features = [[1., 1., 1., 1.], [1., 2., 3., 4.]] 85 np_sm = self._npSoftmax(np.array(features)) [all...] |
/prebuilts/ndk/r16/sources/third_party/vulkan/src/libs/vkjson/ |
vkjson.cc | 214 inline bool Iterate(Visitor* visitor, VkPhysicalDeviceFeatures* features) { 216 visitor->Visit("robustBufferAccess", &features->robustBufferAccess) && 217 visitor->Visit("fullDrawIndexUint32", &features->fullDrawIndexUint32) && 218 visitor->Visit("imageCubeArray", &features->imageCubeArray) && 219 visitor->Visit("independentBlend", &features->independentBlend) && 220 visitor->Visit("geometryShader", &features->geometryShader) && 221 visitor->Visit("tessellationShader", &features->tessellationShader) && 222 visitor->Visit("sampleRateShading", &features->sampleRateShading) && 223 visitor->Visit("dualSrcBlend", &features->dualSrcBlend) && 224 visitor->Visit("logicOp", &features->logicOp) & [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
SortedMapTestSuiteBuilder.java | 21 import com.google.common.collect.testing.features.CollectionFeature; 22 import com.google.common.collect.testing.features.Feature; 54 List<Feature<?>> features = Helpers.copyToList(getFeatures()); local 55 features.add(CollectionFeature.KNOWN_ORDER); 56 withFeatures(features); 83 * To avoid infinite recursion, test suites with these marker features won't 109 List<Feature<?>> features = new ArrayList<Feature<?>>(); local 110 features.add(NoRecurse.SUBMAP); 111 features.addAll(parentBuilder.getFeatures()); 115 .withFeatures(features) [all...] |
ListIteratorTester.java | 31 * {@code add()} calls; {@code features}, the features supported by the 44 Iterable<? extends IteratorFeature> features, 46 super(steps, elementsToInsert, features, expectedElements,
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
ScriptList.java | 20 private Feature[] features; field in class:ScriptList.LangSysRecord 27 features = new Feature[10]; 33 if (featureCount > features.length) { 34 Feature[] newFeatures = new Feature[features.length + 5]; 36 System.arraycopy(features, 0, newFeatures, 0, features.length); 37 features = newFeatures; 40 features[featureCount++] = feature; 51 writer.writeData(features[i].getFeatureIndex());
|
/external/libtextclassifier/ |
cached-features_test.cc | 17 #include "cached-features.h" 41 std::unique_ptr<std::vector<float>> features(new std::vector<float>()); 43 features->push_back(i * 11.0f); 44 features->push_back(-i * 11.0f); 45 features->push_back(i * 0.1f); 47 return features; 74 std::unique_ptr<std::vector<float>> features = MakeFeatures(9); local 80 {3, 10}, std::move(features), std::move(padding_features), 115 std::unique_ptr<std::vector<float>> features = MakeFeatures(9); local 121 {3, 9}, std::move(features), std::move(padding_features) [all...] |
/frameworks/base/telephony/java/android/telephony/ims/compat/ |
ImsService.java | 46 * <!-- Apps must declare which features they support as metadata. The different categories are 62 * The features that are currently supported in an ImsService are: 80 // A map of slot Id -> map of features (indexed by ImsFeature feature id) corresponding to that 179 // Get SparseArray for Features, by querying slot Id 180 SparseArray<ImsFeature> features = mFeaturesBySlot.get(slotId); local 181 if (features == null) { 182 // Populate new SparseArray of features if it doesn't exist for this slot yet. 183 features = new SparseArray<>(); 184 mFeaturesBySlot.put(slotId, features); 186 features.put(featureType, f) 194 SparseArray<ImsFeature> features = mFeaturesBySlot.get(slotId); local [all...] |
/art/compiler/debug/ |
elf_debug_writer.cc | 110 const InstructionSetFeatures* features, 118 features, 126 features, 138 const InstructionSetFeatures* features, 155 new linker::ElfBuilder<ElfTypes>(isa, features, &out)); 161 features, 192 const InstructionSetFeatures* features, 196 return MakeElfFileForJITInternal<ElfTypes64>(isa, features, mini_debug_info, method_infos); 198 return MakeElfFileForJITInternal<ElfTypes32>(isa, features, mini_debug_info, method_infos); 205 const InstructionSetFeatures* features, [all...] |
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/ |
SubclassBytecodeGenerator.java | 70 public <T> Class<? extends T> mockClass(MockFeatures<T> features) { 72 byteBuddy.subclass(features.mockedType) 73 .name(nameFor(features.mockedType)) 75 .annotateType(features.stripAnnotations 77 : features.mockedType.getAnnotations()) 78 .implement(new ArrayList<Type>(features.interfaces)) 82 .attribute(features.stripAnnotations 93 if (features.serializableMode == SerializableMode.ACROSS_CLASSLOADERS) { 104 .append(features.mockedType) 105 .append(features.interfaces [all...] |
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
estimators_test.py | 51 def feature_engineering_fn(features, labels): 52 _, _ = features, labels 59 def model_fn(features, labels): 63 predictions = features["transformed_x"] 92 def feature_engineering_fn(features, labels): 94 _ = string_ops.string_split(features["x"]) 95 features["x"] = constant_op.constant([9.]) 97 return features, labels 99 def model_fn(features, labels): 103 predictions = features["x" [all...] |
debug_test.py | 53 features, labels = features_and_labels 54 train_set = (features[:int(len(features) / 2)], 55 labels[:int(len(features) / 2)]) 56 test_set = (features[int(len(features) / 2):], 57 labels[int(len(features) / 2):]) 61 def _input_fn_builder(features, labels): 64 feature_dict = {'features': constant_op.constant(features)} [all...] |
/external/tensorflow/tensorflow/python/estimator/canned/ |
dnn.py | 73 def dnn_logit_fn(features, mode): 77 features: This is the first item returned from the `input_fn` 89 values=tuple(six.itervalues(features)), 92 features=features, feature_columns=feature_columns) 120 def _dnn_model_fn(features, 134 features: dict of `Tensor`. 156 ValueError: If features has the wrong type. 158 if not isinstance(features, dict): 159 raise ValueError('features should be a dictionary of `Tensor`s. [all...] |
dnn_linear_combined.py | 79 def _dnn_linear_combined_model_fn(features, 95 features: dict of `Tensor`. 125 or features has the wrong type. 127 if not isinstance(features, dict): 128 raise ValueError('features should be a dictionary of `Tensor`s. ' 129 'Given type: {}'.format(type(features))) 158 values=tuple(six.itervalues(features)), 168 dnn_logits = dnn_logit_fn(features=features, mode=mode) 181 values=tuple(six.itervalues(features)), [all...] |
/external/tensorflow/tensorflow/contrib/learn/python/learn/ |
metric_spec_test.py | 31 features = {"f1": "f1_value", "f2": "f2_value"} 64 spec.create_metric_ops(features, labels_, predictions_)) 76 features = {"f1": "f1_value"} 86 spec.create_metric_ops(features, labels_, predictions_) 89 features = {"f1": "f1_value"} 99 spec.create_metric_ops(features, labels_, predictions_) 102 features = {"f1": "f1_value"} 113 spec.create_metric_ops(features, labels_, predictions_) 116 features = {"f1": "f1_value"} 128 spec.create_metric_ops(features, labels_, predictions_) [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/ |
ListSetTester.java | 19 import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES; 20 import static com.google.common.collect.testing.features.CollectionSize.ZERO; 21 import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_SET; 24 import com.google.common.collect.testing.features.CollectionFeature; 25 import com.google.common.collect.testing.features.CollectionSize; 26 import com.google.common.collect.testing.features.ListFeature;
|
ListAddAtIndexTester.java | 19 import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES; 20 import static com.google.common.collect.testing.features.CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION; 21 import static com.google.common.collect.testing.features.CollectionSize.ONE; 22 import static com.google.common.collect.testing.features.CollectionSize.ZERO; 23 import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_ADD_WITH_INDEX; 26 import com.google.common.collect.testing.features.CollectionFeature; 27 import com.google.common.collect.testing.features.CollectionSize; 28 import com.google.common.collect.testing.features.ListFeature;
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
BiMapRemoveTester.java | 19 import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ITERATOR_REMOVE; 20 import static com.google.common.collect.testing.features.CollectionSize.ZERO; 21 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE; 24 import com.google.common.collect.testing.features.CollectionFeature; 25 import com.google.common.collect.testing.features.CollectionSize; 26 import com.google.common.collect.testing.features.MapFeature;
|
MultisetElementSetTester.java | 19 import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ADD; 20 import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE; 21 import static com.google.common.collect.testing.features.CollectionSize.SEVERAL; 22 import static com.google.common.collect.testing.features.CollectionSize.ZERO; 26 import com.google.common.collect.testing.features.CollectionFeature; 27 import com.google.common.collect.testing.features.CollectionSize;
|
MultisetContainsTester.java | 17 import static com.google.common.collect.testing.features.CollectionSize.ZERO; 20 import com.google.common.collect.testing.features.CollectionSize;
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
ListRetainAllTester.java | 19 import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE; 20 import static com.google.common.collect.testing.features.CollectionSize.ONE; 21 import static com.google.common.collect.testing.features.CollectionSize.SEVERAL; 22 import static com.google.common.collect.testing.features.CollectionSize.ZERO; 27 import com.google.common.collect.testing.features.CollectionFeature; 28 import com.google.common.collect.testing.features.CollectionSize;
|
MapClearTester.java | 19 import static com.google.common.collect.testing.features.CollectionSize.SEVERAL; 20 import static com.google.common.collect.testing.features.CollectionSize.ZERO; 21 import static com.google.common.collect.testing.features.MapFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION; 22 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_REMOVE; 26 import com.google.common.collect.testing.features.CollectionSize; 27 import com.google.common.collect.testing.features.MapFeature;
|
SetCreationTester.java | 19 import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES; 20 import static com.google.common.collect.testing.features.CollectionFeature.REJECTS_DUPLICATES_AT_CREATION; 21 import static com.google.common.collect.testing.features.CollectionSize.ONE; 22 import static com.google.common.collect.testing.features.CollectionSize.ZERO; 25 import com.google.common.collect.testing.features.CollectionFeature; 26 import com.google.common.collect.testing.features.CollectionSize;
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/learn_io/ |
generator_io_test.py | 48 features, target = input_fn() 53 res = session.run([features, target]) 58 session.run([features]) 60 session.run([features, target]) 74 features = input_fn() 79 res = session.run([features]) 82 session.run([features]) 84 session.run([features]) 107 features, target = input_fn() 112 res = session.run([features, target] [all...] |
/art/compiler/linker/mips/ |
relative_patcher_mips.h | 28 explicit MipsRelativePatcher(const MipsInstructionSetFeatures* features) 29 : is_r6(features->IsR6()) {}
|