Home
last modified time | relevance | path

Searched refs:units (Results 1 – 25 of 1119) sorted by relevance

12345678910>>...45

/external/tensorflow/tensorflow/python/keras/layers/
Dcudnn_recurrent.py200 units, argument
216 self.units = units
218 self._cell = cell_spec(state_size=self.units)
250 shape=(input_dim, self.units * 3),
257 shape=(self.units, self.units * 3),
264 shape=(self.units * 6,),
280 self.kernel[:, self.units:self.units * 2],
281 self.kernel[:, :self.units],
282 self.kernel[:, self.units * 2:],
283 self.recurrent_kernel[:, self.units:self.units * 2],
[all …]
Dlstm_test.py40 units = 2
43 kwargs={'units': units,
51 units = 2
57 layer = keras.layers.LSTM(units, return_sequences=True)
60 self.assertEqual(outputs.get_shape().as_list(), [None, timesteps, units])
66 units = 2
67 layer = keras.layers.LSTM(units, input_shape=(None, embedding_dim))
74 y = np.random.random((num_samples, units))
81 units = 2
84 kwargs={'units': units,
[all …]
Dgru_test.py39 units = 2
42 kwargs={'units': units,
50 units = 2
51 layer = keras.layers.GRU(units, input_shape=(None, embedding_dim))
57 y = np.random.random((num_samples, units))
64 units = 2
67 kwargs={'units': units,
77 units = 2
80 kwargs={'units': units,
88 units = 2
[all …]
Drecurrent.py1170 units, argument
1186 self.units = units
1204 self.state_size = self.units
1205 self.output_size = self.units
1210 shape=(input_shape[-1], self.units),
1216 shape=(self.units, self.units),
1223 shape=(self.units,),
1259 self.units,
1356 units, argument
1383 units,
[all …]
Dcudnn_recurrent_test.py47 units = 2
51 kwargs={'units': units,
63 units = 2
67 kwargs={'units': units,
79 units = 2
84 layer = layer_class(units, return_state=True, stateful=True)
104 units = 2
110 layer = layer_class(units, time_major=True, return_sequences=True)
118 np.ones((num_samples, timesteps, units)))
120 self.assertEqual(out.shape, (num_samples, timesteps, units))
[all …]
Dlstm_v2_test.py84 units = 2
90 layer = rnn.LSTM(units, return_sequences=True)
93 self.assertEqual(outputs.get_shape().as_list(), [None, timesteps, units])
99 units = 2
100 layer = rnn.LSTM(units, input_shape=(None, embedding_dim))
105 y = np.random.random((num_samples, units))
123 l1 = layer_class(units=1, stateful=stateful)
131 units = 3
136 initial_state = [keras.Input((units,)) for _ in range(num_states)]
137 layer = rnn.LSTM(units)
[all …]
Dsimplernn_test.py38 units = 2
41 kwargs={'units': units,
49 units = 2
50 layer = keras.layers.SimpleRNN(units, input_shape=(None, embedding_dim))
55 y = np.random.random((num_samples, units))
62 units = 2
65 kwargs={'units': units,
74 units = 2
78 kwargs={'units': units,
108 model.add(layer_class(units=5, return_sequences=True, unroll=False))
[all …]
/external/toolchain-utils/crosperf/
Dunittest_keyval_file.txt1 {"description": "Box2D", "graph": "Box2D", "higher_is_better": true, "units": "score", "value": 477…
2 {"description": "CodeLoad", "graph": "CodeLoad", "higher_is_better": true, "units": "score", "value…
3 {"description": "Crypto", "graph": "Crypto", "higher_is_better": true, "units": "score", "value": 8…
4 {"description": "DeltaBlue", "graph": "DeltaBlue", "higher_is_better": true, "units": "score", "val…
5 {"description": "EarleyBoyer", "graph": "EarleyBoyer", "higher_is_better": true, "units": "score", …
6 {"description": "Gameboy", "graph": "Gameboy", "higher_is_better": true, "units": "score", "value":…
7 {"description": "Mandreel", "graph": "Mandreel", "higher_is_better": true, "units": "score", "value…
8 {"description": "MandreelLatency", "graph": "MandreelLatency", "higher_is_better": true, "units": "…
9 {"description": "NavierStokes", "graph": "NavierStokes", "higher_is_better": true, "units": "score"…
10 {"description": "PdfJS", "graph": "PdfJS", "higher_is_better": true, "units": "score", "value": 645…
[all …]
/external/turbine/javatests/com/google/turbine/binder/
DBinderTest.java58 List<Tree.CompUnit> units = new ArrayList<>(); in hello() local
59 units.add( in hello()
68 units.add( in hello()
77 units, in hello()
81 .units(); in hello()
106 List<Tree.CompUnit> units = new ArrayList<>(); in interfaces() local
107 units.add( in interfaces()
114 units.add( in interfaces()
123 units, in interfaces()
127 .units(); in interfaces()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DUniversalTimeScale.java270 units = theUnits; in TimeScaleData()
292 long units; field in UniversalTimeScale.TimeScaleData
342 return (otherTime + data.epochOffset) * data.units; in from()
359 BigDecimal units = new BigDecimal(data.units); in bigDecimalFrom() local
362 return other.add(epochOffset).multiply(units); in bigDecimalFrom()
379 BigDecimal units = new BigDecimal(data.units); in bigDecimalFrom() local
382 return other.add(epochOffset).multiply(units); in bigDecimalFrom()
399 BigDecimal units = new BigDecimal(data.units); in bigDecimalFrom() local
402 return otherTime.add(epochOffset).multiply(units); in bigDecimalFrom()
449 return (universalTime + data.unitsRound) / data.units - data.epochOffsetP1; in toLong()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DUniversalTimeScale.java306 units = theUnits; in TimeScaleData()
328 long units; field in UniversalTimeScale.TimeScaleData
380 return (otherTime + data.epochOffset) * data.units; in from()
399 BigDecimal units = new BigDecimal(data.units); in bigDecimalFrom() local
402 return other.add(epochOffset).multiply(units); in bigDecimalFrom()
421 BigDecimal units = new BigDecimal(data.units); in bigDecimalFrom() local
424 return other.add(epochOffset).multiply(units); in bigDecimalFrom()
443 BigDecimal units = new BigDecimal(data.units); in bigDecimalFrom() local
446 return otherTime.add(epochOffset).multiply(units); in bigDecimalFrom()
495 return (universalTime + data.unitsRound) / data.units - data.epochOffsetP1; in toLong()
[all …]
/external/autotest/server/cros/cfm/utils/
Dperf_metrics_collector.py108 units='ms',
115 units='px',
122 units='px',
129 units='fps',
136 units='fps',
143 units='packets',
151 units='fps',
157 units='fps',
164 units='fps',
171 units='px',
[all …]
/external/webrtc/webrtc/test/testsupport/
Dperf_test.cc28 const std::string& units, in ResultsToString() argument
42 << prefix << values << suffix << " " << units << std::endl; in ResultsToString()
52 const std::string& units, in PrintResultsImpl() argument
55 prefix, suffix, units, important).c_str()); in PrintResultsImpl()
67 const std::string& units, in PrintResult() argument
72 units, important); in PrintResult()
80 const std::string& units, in AppendResult() argument
86 "", "", units, important); in AppendResult()
93 const std::string& units, in PrintResult() argument
95 PrintResultsImpl(measurement, modifier, trace, value, "", "", units, in PrintResult()
[all …]
Dperf_test.h40 const std::string& units,
48 const std::string& units,
57 const std::string& units,
65 const std::string& units,
75 const std::string& units,
83 const std::string& units,
94 const std::string& units,
102 const std::string& units,
/external/google-fruit/extras/benchmark/
Dformat_bench_results.py201 def find_best_unit(units, min_value, max_value): argument
203 if max_value <= units[0]:
204 return units[0]
205 for i in range(len(units) - 1):
206 if min_value > units[i] and max_value < units[i + 1]:
207 return units[i]
208 if min_value > units[-1]:
209 return units[-1]
211 for i in range(len(units) - 1):
212 if min_value > units[i] * 0.2 and max_value < units[i + 1]:
[all …]
/external/cldr/tools/java/org/unicode/cldr/tool/
Dmodify_config.txt249 locale=ia; action=add; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="acceleration-g-fo…
250 locale=ia; action=add; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="acceleration-mete…
251 locale=ia; action=add; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="angle-revolution"…
252 locale=ia; action=add; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="angle-radian"]/un…
253 locale=ia; action=add; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="angle-degree"]/un…
254 locale=ia; action=add; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="angle-arc-minute"…
255 locale=ia; action=add; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="angle-arc-second"…
256 locale=ia; action=add; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="area-square-kilom…
257 locale=ia; action=add; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="area-hectare"]/un…
258 locale=ia; action=add; new_path=//ldml/units/unitLength[@type="long"]/unit[@type="area-square-meter…
[all …]
/external/libcups/cups/
Dpwg-media.c271 const char *units) /* I - Units - "in", "mm", or @code NULL@ for automatic */ in pwgFormatSizeName() argument
283 …gth=%d, units=\"%s\")", (void *)keyword, CUPS_LLCAST keysize, prefix, name, width, length, units)); in pwgFormatSizeName()
289 (units && strcmp(units, "in") && strcmp(units, "mm"))) in pwgFormatSizeName()
320 if (!units) in pwgFormatSizeName()
328 units = "in"; in pwgFormatSizeName()
336 units = "mm"; in pwgFormatSizeName()
340 if (!strcmp(units, "in")) in pwgFormatSizeName()
370 memcpy(uptr, units, 3); in pwgFormatSizeName()
682 const char *units; /* Pointer to units */ in pwgMediaForPPD() local
705 units = strchr(ptr, '.'); in pwgMediaForPPD()
[all …]
/external/autotest/client/common_lib/
Dtest_unittest.py204 self.test.output_perf_value("Test", 1, units="ms", higher_is_better=True)
215 self.test.output_perf_value("Test", 1, units="ms", higher_is_better=True)
216 self.test.output_perf_value("Test", 2, units="ms", higher_is_better=True)
228 self.test.output_perf_value("Test", 1, units="ms",
230 self.test.output_perf_value("Test", 2, units="ms", higher_is_better=True)
231 self.test.output_perf_value("Test", 3, units="ms", higher_is_better=True)
243 self.test.output_perf_value("Test", [1, 2, 3], units="ms",
255 self.test.output_perf_value("Test", 1, units="ms",
257 self.test.output_perf_value("Test", [4, 3, 2], units="ms",
269 self.test.output_perf_value("Test", [1, 2, 3], units="ms",
[all …]
/external/elfutils/tests/
Drun-get-units-split.sh23 testrun ${abs_builddir}/get-units-split testfile-debug-types
28 testrun ${abs_builddir}/get-units-split testfile_multi_main
33 testrun ${abs_builddir}/get-units-split testfilebazdbgppc64.debug
40 testrun ${abs_builddir}/get-units-split testfile-dwarf-4
41 testrun ${abs_builddir}/get-units-split testfile-dwarf-5
44 testrun_compare ${abs_builddir}/get-units-split testfile-splitdwarf-4 << \EOF
53 testrun_compare ${abs_builddir}/get-units-split testfile-splitdwarf-5 << \EOF
63 testrun_on_self_exe ${abs_builddir}/get-units-split
64 testrun_on_self_lib ${abs_builddir}/get-units-split
Drun-get-units-invalid.sh23 testrun ${abs_builddir}/get-units-invalid testfile-debug-types
28 testrun ${abs_builddir}/get-units-invalid testfile_multi_main
33 testrun ${abs_builddir}/get-units-invalid testfilebazdbgppc64.debug
38 testrun ${abs_builddir}/get-units-invalid testfile-dwarf-4
39 testrun ${abs_builddir}/get-units-invalid testfile-dwarf-5
42 testrun_on_self ${abs_builddir}/get-units-invalid
/external/llvm/lib/Fuzzer/test/
Dmerge.test11 CHECK1: === Minimizing the initial corpus of 3 units
12 CHECK1: === Merge: written 0 units
23 CHECK2: === Minimizing the initial corpus of 3 units
24 CHECK2: === Merging extra 6 units
25 CHECK2: === Merge: written 3 units
27 # Now, T1 has 6 units and T2 has no new interesting units.
29 CHECK3: === Minimizing the initial corpus of 6 units
30 CHECK3: === Merge: written 0 units
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/
DGenerateCTimeScaleData.java76 … long units = UniversalTimeScale.getTimeScaleValue(scale, UniversalTimeScale.UNITS_VALUE); in main() local
78 if (units == ticks) { in main()
80 } else if (units == microseconds) { in main()
82 } else if (units == milliseconds) { in main()
84 } else if (units == seconds) { in main()
86 } else if (units == minutes) { in main()
88 } else if (units == hours) { in main()
90 } else if (units == days) { in main()
93 cargs[0] = "INT64_C(" + Long.toString(units) + ")"; in main()
/external/autotest/client/common_lib/cros/
Dsystem_metrics_collector.py5 units=None, argument
16 self._units = units
26 def units(self): member in Metric
78 units=other.units,
115 super(MemUsageMetric, self).__init__('memory_usage', units='percent')
130 super(CpuUsageMetric, self).__init__('cpu_usage', units='percent')
155 'allocated_file_handles', units='handles')
167 'storage_written', units='kB')
190 super(TemperatureMetric, self).__init__('temperature', units='Celsius')
263 units=metric.units,
/external/ltp/testcases/lib/
Dtst_sleep.c33 } units[] = { variable
40 static unsigned int units_len = sizeof(units) / sizeof(*units);
76 if (!strcmp(units[i].unit, end)) in main()
86 if (units[i].mul == 1000000) in main()
89 if (units[i].mul == 1000) { in main()
94 if (units[i].mul == 1) { in main()
/external/toybox/toys/other/
Dvmstat.c89 uint64_t units, total_hz, *ptr = (uint64_t *)(top+idx), in vmstat_main() local
123 sscanf(s, "%"PRIu64, &units); in vmstat_main()
124 } else units = loop_delay; in vmstat_main()
142 else if (order[i]>17) out = ((out * page_kb)+(units-1))/units; in vmstat_main()
143 else if (order[i]>15) out = ((out)+(units-1))/units; in vmstat_main()
144 else if (order[i]<9) out = (out+(units-1)) / units; in vmstat_main()

12345678910>>...45