/external/setupcompat/main/java/com/google/android/setupcompat/logging/ |
D | MetricKey.java | 33 public final class MetricKey implements Parcelable { class 52 public static MetricKey get(@NonNull String name, @NonNull String screenName) { in get() 62 return new MetricKey(name, screenName); in get() 66 public static Bundle fromMetricKey(MetricKey metricKey) { in fromMetricKey() 76 public static MetricKey toMetricKey(Bundle bundle) { in toMetricKey() 78 return MetricKey.get( in toMetricKey() 83 public static final Creator<MetricKey> CREATOR = 84 new Creator<MetricKey>() { 86 public MetricKey createFromParcel(Parcel in) { 87 return new MetricKey(in.readString(), in.readString()); [all …]
|
D | CustomEvent.java | 51 MetricKey metricKey, PersistableBundle bundle, PersistableBundle piiValues) { in create() 66 public static CustomEvent create(MetricKey metricKey, PersistableBundle bundle) { in create() 77 MetricKey.toMetricKey(bundle.getBundle(BUNDLE_KEY_METRICKEY)), in toCustomEvent() 88 bundle.putBundle(BUNDLE_KEY_METRICKEY, MetricKey.fromMetricKey(customEvent.metricKey())); in toBundle() 101 in.readParcelable(MetricKey.class.getClassLoader()), 102 in.readPersistableBundle(MetricKey.class.getClassLoader()), 103 in.readPersistableBundle(MetricKey.class.getClassLoader())); 118 public MetricKey metricKey() { in metricKey() 170 MetricKey metricKey, in CustomEvent() 186 private final MetricKey metricKey;
|
D | Timer.java | 26 public Timer(MetricKey metricKey) { in Timer() 76 MetricKey getMetricKey() { in getMetricKey() 82 private final MetricKey metricKey;
|
D | SetupMetricsLogger.java | 41 @NonNull Context context, @NonNull MetricKey counterName, int times) { in logCounter() 65 @NonNull Context context, @NonNull MetricKey timerName, long timeInMillis) { in logDuration()
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
D | logistic_regressor_test.py | 78 0.0, eval_metrics[metric_key.MetricKey.PREDICTION_MEAN], err=1e-3) 80 0.5, eval_metrics[metric_key.MetricKey.LABEL_MEAN], err=1e-6) 82 0.5, eval_metrics[metric_key.MetricKey.ACCURACY_BASELINE], err=1e-6) 83 self.assertNear(0.5, eval_metrics[metric_key.MetricKey.AUC], err=1e-6) 85 0.5, eval_metrics[metric_key.MetricKey.ACCURACY_MEAN % 0.5], err=1e-6) 87 0.0, eval_metrics[metric_key.MetricKey.PRECISION_MEAN % 0.5], err=1e-6) 89 0.0, eval_metrics[metric_key.MetricKey.RECALL_MEAN % 0.5], err=1e-6) 96 0.5, eval_metrics[metric_key.MetricKey.PREDICTION_MEAN], err=1e-2) 99 0.5, eval_metrics[metric_key.MetricKey.LABEL_MEAN], err=1e-6) 101 0.5, eval_metrics[metric_key.MetricKey.ACCURACY_BASELINE], err=1e-6) [all …]
|
D | logistic_regressor.py | 151 metrics[metric_key.MetricKey.PREDICTION_MEAN] = metrics_lib.streaming_mean( 153 metrics[metric_key.MetricKey.LABEL_MEAN] = metrics_lib.streaming_mean( 157 metrics[metric_key.MetricKey.ACCURACY_BASELINE] = metrics_lib.streaming_mean( 160 metrics[metric_key.MetricKey.AUC] = metrics_lib.streaming_auc( 168 metrics[metric_key.MetricKey.ACCURACY_MEAN % threshold] = ( 172 metrics[metric_key.MetricKey.PRECISION_MEAN % threshold] = ( 176 metrics[metric_key.MetricKey.RECALL_MEAN % threshold] = (
|
D | metric_key.py | 26 class MetricKey(object): class
|
D | __init__.py | 329 from tensorflow.contrib.learn.python.learn.estimators.metric_key import MetricKey
|
D | model_fn.py | 285 if key != metric_key.MetricKey.LOSS:
|
D | estimator.py | 1294 if metric_key.MetricKey.LOSS not in model_fn_ops.eval_metric_ops: 1295 model_fn_ops.eval_metric_ops[metric_key.MetricKey.LOSS] = (
|
D | head.py | 35 from tensorflow.contrib.learn.python.learn.estimators.metric_key import MetricKey as mkey
|
/external/setupcompat/main/java/com/google/android/setupcompat/logging/internal/ |
D | MetricBundleConverter.java | 5 import com.google.android.setupcompat.logging.MetricKey; 17 public static Bundle createBundleForLoggingCounter(MetricKey counterName, int times) { in createBundleForLoggingCounter() 19 bundle.putParcelable(MetricBundleKeys.METRIC_KEY_BUNDLE, MetricKey.fromMetricKey(counterName)); in createBundleForLoggingCounter() 24 public static Bundle createBundleForLoggingTimer(MetricKey timerName, long timeInMillis) { in createBundleForLoggingTimer() 26 bundle.putParcelable(MetricBundleKeys.METRIC_KEY_BUNDLE, MetricKey.fromMetricKey(timerName)); in createBundleForLoggingTimer()
|
D | PartnerCustomizedResourceListMetric.java | 26 import com.google.android.setupcompat.logging.MetricKey; 39 CustomEvent.create(MetricKey.get("PartnerCustomizationResource", screenName), logBundle)); in logMetrics()
|
D | SetupMetricsLoggingConstants.java | 22 import com.google.android.setupcompat.logging.MetricKey;
|
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/ |
D | PerfStatsCollector.java | 19 private final Map<MetricKey, Metric> metricMap = new HashMap<>(); 132 MetricKey key = new MetricKey(name, success); in finished() 225 private static class MetricKey { class in PerfStatsCollector 229 MetricKey(String name, boolean success) { in MetricKey() method in PerfStatsCollector.MetricKey 243 MetricKey metricKey = (MetricKey) o; in equals()
|
/external/setupcompat/main/java/com/google/android/setupcompat/internal/ |
D | LifecycleFragment.java | 28 import com.google.android.setupcompat.logging.MetricKey; 37 private MetricKey metricKey; 90 metricKey = MetricKey.get("ScreenDuration", getActivity().getClass().getSimpleName()); in onAttach()
|
/external/setupcompat/main/java/com/google/android/setupcompat/ |
D | PartnerCustomizationLayout.java | 38 import com.google.android.setupcompat.logging.MetricKey; 216 MetricKey.get("SetupCompatMetrics", activity.getClass().getSimpleName()), in onDetachedFromWindow()
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/utils/ |
D | saved_model_export_utils.py | 562 default_key = metric_key.MetricKey.LOSS
|