/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
debug.py | 59 def _get_feature_dict(features): 60 if isinstance(features, dict): 61 return features 62 return {"": features} 65 def debug_model_fn(features, labels, mode, params, config=None): 69 features: `Tensor` or dict of `Tensor` (depends on data passed to `fit`). 79 ValueError: If features is an empty dictionary. 86 features = _get_feature_dict(features) 87 if not features [all...] |
/external/tensorflow/tensorflow/python/estimator/canned/ |
linear.py | 83 def linear_logit_fn(features): 87 features: This is the first item returned from the `input_fn` 96 features=features, 114 def _linear_model_fn(features, labels, mode, head, feature_columns, optimizer, 119 features: dict of `Tensor`. 135 ValueError: mode or params are invalid, or features has the wrong type. 137 if not isinstance(features, dict): 138 raise ValueError('features should be a dictionary of `Tensor`s. ' 139 'Given type: {}'.format(type(features))) [all...] |
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/ |
input_pipeline.py | 27 or more floating point values for each time) along with any exogenous features, 39 features may have any shape, but are likewise associated with a timestep. Times 42 features (i.e. times may be missing, but given that a time is specified, every 119 features for the model to use while making the predictions. Values must 134 features = { 140 features.update(exogenous_features) 146 for key, values in features.items(): 234 has shape [series length x number of features]. 235 In any case, `VALUES` and any exogenous features must have their shapes 256 # Remove the batch dimension from all features [all...] |
/external/tensorflow/tensorflow/python/estimator/inputs/ |
numpy_io_test.py | 42 features, target = input_fn() 47 res = session.run([features, target]) 52 session.run([features, target]) 54 session.run([features, target]) 68 features, target = input_fn() 73 res = session.run([features, target]) 79 session.run([features, target]) 93 features, target = input_fn() 99 session.run([features, target]) 114 features, target = input_fn( [all...] |
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
FeatureUtil.java | 28 * Device-side utility class for detecting system features 44 /** Returns true if the device has any feature in a given collection of system features */ 45 public static boolean hasAnySystemFeature(String... features) { 47 for (String feature : features) { 55 /** Returns true if the device has all features in a given collection of system features */ 56 public static boolean hasAllSystemFeatures(String... features) { 58 for (String feature : features) { 66 /** Returns all system features of the device */
|
/external/e2fsprogs/misc/ |
mke2fs-hurd.conf | 11 features = has_journal 14 features = has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/ |
CollectionCreationTester.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; 24 import com.google.common.collect.testing.features.CollectionFeature; 25 import com.google.common.collect.testing.features.CollectionSize;
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/features/ |
Feature.java | 17 package com.google.common.collect.testing.features; 24 * Base class for enumerating the features of an interface to be tested. 26 * @param <T> The interface whose features are to be enumerated. 31 /** Returns the set of features that are implied by this feature. */
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
MultisetEqualsTester.java | 17 import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES; 18 import static com.google.common.collect.testing.features.CollectionSize.ZERO; 21 import com.google.common.collect.testing.features.CollectionFeature; 22 import com.google.common.collect.testing.features.CollectionSize;
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
CollectionCreationTester.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; 26 import com.google.common.collect.testing.features.CollectionFeature; 27 import com.google.common.collect.testing.features.CollectionSize;
|
ListAddAllTester.java | 19 import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ADD; 20 import static com.google.common.collect.testing.features.CollectionSize.ZERO; 24 import com.google.common.collect.testing.features.CollectionFeature; 25 import com.google.common.collect.testing.features.CollectionSize;
|
MapContainsValueTester.java | 19 import static com.google.common.collect.testing.features.CollectionSize.ZERO; 20 import static com.google.common.collect.testing.features.MapFeature.*; 25 import com.google.common.collect.testing.features.CollectionSize; 26 import com.google.common.collect.testing.features.MapFeature;
|
SetAddAllTester.java | 19 import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ADD; 20 import static com.google.common.collect.testing.features.CollectionSize.ZERO; 24 import com.google.common.collect.testing.features.CollectionFeature; 25 import com.google.common.collect.testing.features.CollectionSize;
|
/external/harfbuzz_ng/src/ |
hb-ot-shape.h | 42 const hb_feature_t *features,
|
/external/iptables/include/ebtables/ |
ethernetdb.h | 24 #include <features.h>
|
/external/libmojo/base/android/ |
cpu_features.cc | 5 #include <cpu-features.h>
|
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/models/ |
multiple_additive_trees.h | 39 const boosted_trees::utils::BatchFeatures& features,
|
/external/tensorflow/tensorflow/contrib/cloud/kernels/ |
bigquery_table_accessor_test_data.h | 199 const string kTestExampleProto = R"(features { 276 const string kTestExampleProtoWithNulls = R"(features { 329 const string kTestPartialExampleProto = R"(features { 349 const string kTestExampleProtoWithTwoRecords = R"(features {
|
/external/tensorflow/tensorflow/contrib/estimator/python/estimator/ |
extenders.py | 32 _VALID_METRIC_FN_ARGS = set(['features', 'labels', 'predictions', 'config']) 49 Example usage of custom metric which uses features: 52 def my_auc(features, labels, predictions): 54 labels, predictions['logistic'], weights=features['weight'])} 68 * features: Input `dict` of `Tensor` objects created by `input_fn` which 86 def new_model_fn(features, labels, mode, config): 87 spec = estimator.model_fn(features, labels, mode, config) 90 new_metrics = _call_metric_fn(metric_fn, features, labels, spec.predictions, 140 """Forward features to predictions dictionary. 142 In some cases, user wants to see some of the features in estimators predictio [all...] |
/external/tensorflow/tensorflow/contrib/learn/python/learn/utils/ |
input_fn_utils.py | 38 ['features', 44 Training and eval input_fn should return a `(features, labels)` tuple. 47 features: A dict of string to `Tensor` or `SparseTensor`, specifying the 48 features to be passed to the model. 64 feature_spec, and returns all parsed Tensors as features. This input_fn is 81 features = parsing_ops.parse_example(serialized_tf_example, feature_spec) 83 return InputFnOps(features, labels, inputs) 87 def build_default_serving_input_fn(features, default_batch_size=None): 90 Creates an input_fn that expects all features to be fed directly. 95 features: a dict of string to `Tensor` [all...] |
/external/webrtc/webrtc/libjingle/xmpp/ |
mucroomdiscoverytask.cc | 31 std::set<std::string> features; local 35 SignalResult(this, false, "", "", features, extended_info); 51 features.insert(feature->Attr(QN_VAR)); 63 SignalResult(this, true, name, conversation_id, features, extended_info);
|
/external/webrtc/webrtc/modules/audio_processing/vad/ |
pitch_based_vad.h | 31 // Compute pitch-based voicing probability, given the features. 32 // features: a structure containing features required for computing voicing 39 int VoicingProbability(const AudioFeatures& features, double* p_combined);
|
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
CallbackActionHelper.java | 43 * @param features Value of features in column {@link android.provider.CallLog.Calls#FEATURES}. 49 String number, int features, String phoneAccountComponentName) { 50 return getCallbackAction(number, features, isDuoCall(phoneAccountComponentName)); 57 * @param features Value of features in column {@link android.provider.CallLog.Calls#FEATURES}. 62 String number, int features, boolean isDuoCall) { 70 boolean isVideoCall = (features & Calls.FEATURES_VIDEO) == Calls.FEATURES_VIDEO [all...] |
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
TestEnv.java | 28 import com.android.documentsui.base.Features; 70 public final Features features; field in class:TestEnv 75 private TestEnv(Context context, Features features, String authority) { 76 this.features = features; 79 model = new TestModel(authority, features); 80 archiveModel = new TestModel(ArchivesProvider.AUTHORITY, features); 84 features, 128 Features features = new Features.RuntimeFeatures(context.getResources(), null); local [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
ShadowRestrictedLockUtils.java | 63 int features, final @UserIdInt int userId) { 64 return (sKeyguardDisabledFeatures & features) == 0 ? null : new EnforcedAdmin(); 95 public static void setKeyguardDisabledFeatures(int features) { 96 sKeyguardDisabledFeatures = features;
|