Home
last modified time | relevance | path

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

123

/packages/modules/NeuralNetworks/runtime/test/specs/V1_1/
Drnn_relaxed.mod.py18 units = 16 variable
24 weights = Input("weights", "TENSOR_FLOAT32", "{%d, %d}" % (units, input_size))
25 recurrent_weights = Input("recurrent_weights", "TENSOR_FLOAT32", "{%d, %d}" % (units, units))
26 bias = Input("bias", "TENSOR_FLOAT32", "{%d}" % (units))
27 hidden_state_in = Input("hidden_state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, units))
31 hidden_state_out = IgnoredOutput("hidden_state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, units
32 output = Output("output", "TENSOR_FLOAT32", "{%d, %d}" % (batches, units))
194 input0[hidden_state_in] = [0 for x in range(batches * units)]
196 hidden_state_out: [0 for x in range(batches * units)],
198 golden_start = i * units
[all …]
Drnn_state_relaxed.mod.py18 units = 16 variable
24 weights = Input("weights", "TENSOR_FLOAT32", "{%d, %d}" % (units, input_size))
25 recurrent_weights = Input("recurrent_weights", "TENSOR_FLOAT32", "{%d, %d}" % (units, units))
26 bias = Input("bias", "TENSOR_FLOAT32", "{%d}" % (units))
27 hidden_state_in = Input("hidden_state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, units))
31 hidden_state_out = IgnoredOutput("hidden_state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, units
32 output = Output("output", "TENSOR_FLOAT32", "{%d, %d}" % (batches, units))
Dsvdf_state_relaxed.mod.py18 units = 4 variable
25 weights_feature = Input("weights_feature", "TENSOR_FLOAT32", "{%d, %d}" % (units, input_size))
26 weights_time = Input("weights_time", "TENSOR_FLOAT32", "{%d, %d}" % (units, memory_size))
27 bias = Input("bias", "TENSOR_FLOAT32", "{%d}" % (units))
28 state_in = Input("state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*units))
31 state_out = Output("state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*units))
32 output = Output("output", "TENSOR_FLOAT32", "{%d, %d}" % (batches, units))
Dsvdf2_relaxed.mod.py20 units = int(features / rank) variable
29 bias = Input("bias", "TENSOR_FLOAT32", "{%d}" % (units))
34 output = Output("output", "TENSOR_FLOAT32", "{%d, %d}" % (batches, units))
151 golden_start = i * units * batches
152 golden_end = golden_start + units * batches
Dsvdf_relaxed.mod.py20 units = int(features / rank) variable
29 bias = Input("bias", "TENSOR_FLOAT32", "{%d}" % (units))
34 output = Output("output", "TENSOR_FLOAT32", "{%d, %d}" % (batches, units))
136 golden_start = i * units * batches
137 golden_end = golden_start + units * batches
Dsvdf_bias_present_relaxed.mod.py20 units = int(features / rank) variable
29 bias = Input("bias", "TENSOR_FLOAT32", "{%d}" % (units))
34 output = Output("output", "TENSOR_FLOAT32", "{%d, %d}" % (batches, units))
136 golden_start = i * units * batches
137 golden_end = golden_start + units * batches
/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/
Drnn_float16.mod.py18 units = 16 variable
24 weights = Input("weights", "TENSOR_FLOAT16", "{%d, %d}" % (units, input_size))
25 recurrent_weights = Input("recurrent_weights", "TENSOR_FLOAT16", "{%d, %d}" % (units, units))
26 bias = Input("bias", "TENSOR_FLOAT16", "{%d}" % (units))
27 hidden_state_in = Input("hidden_state_in", "TENSOR_FLOAT16", "{%d, %d}" % (batches, units))
31 hidden_state_out = IgnoredOutput("hidden_state_out", "TENSOR_FLOAT16", "{%d, %d}" % (batches, units
32 output = Output("output", "TENSOR_FLOAT16", "{%d, %d}" % (batches, units))
193 input0[hidden_state_in] = [0 for x in range(batches * units)]
195 hidden_state_out: [0 for x in range(batches * units)],
197 golden_start = i * units
[all …]
Dsvdf_state_float16.mod.py18 units = 4 variable
25 weights_feature = Input("weights_feature", "TENSOR_FLOAT16", "{%d, %d}" % (units, input_size))
26 weights_time = Input("weights_time", "TENSOR_FLOAT16", "{%d, %d}" % (units, memory_size))
27 bias = Input("bias", "TENSOR_FLOAT16", "{%d}" % (units))
28 state_in = Input("state_in", "TENSOR_FLOAT16", "{%d, %d}" % (batches, memory_size*units))
31 state_out = Output("state_out", "TENSOR_FLOAT16", "{%d, %d}" % (batches, memory_size*units))
32 output = Output("output", "TENSOR_FLOAT16", "{%d, %d}" % (batches, units))
Dsvdf_float16.mod.py20 units = int(features / rank) variable
29 bias = Input("bias", "TENSOR_FLOAT16", "{%d}" % (units))
34 output = Output("output", "TENSOR_FLOAT16", "{%d, %d}" % (batches, units))
135 golden_start = i * units * batches
136 golden_end = golden_start + units * batches
Dsvdf_bias_present_float16.mod.py20 units = int(features / rank) variable
29 bias = Input("bias", "TENSOR_FLOAT16", "{%d}" % (units))
34 output = Output("output", "TENSOR_FLOAT16", "{%d, %d}" % (batches, units))
135 golden_start = i * units * batches
136 golden_end = golden_start + units * batches
/packages/modules/NeuralNetworks/runtime/test/specs/V1_0/
Drnn.mod.py18 units = 16 variable
24 weights = Input("weights", "TENSOR_FLOAT32", "{%d, %d}" % (units, input_size))
25 recurrent_weights = Input("recurrent_weights", "TENSOR_FLOAT32", "{%d, %d}" % (units, units))
26 bias = Input("bias", "TENSOR_FLOAT32", "{%d}" % (units))
27 hidden_state_in = Input("hidden_state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, units))
31 hidden_state_out = IgnoredOutput("hidden_state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, units
32 output = Output("output", "TENSOR_FLOAT32", "{%d, %d}" % (batches, units))
193 input0[hidden_state_in] = [0 for x in range(batches * units)]
195 hidden_state_out: [0 for x in range(batches * units)],
197 golden_start = i * units
[all …]
Drnn_state.mod.py18 units = 16 variable
24 weights = Input("weights", "TENSOR_FLOAT32", "{%d, %d}" % (units, input_size))
25 recurrent_weights = Input("recurrent_weights", "TENSOR_FLOAT32", "{%d, %d}" % (units, units))
26 bias = Input("bias", "TENSOR_FLOAT32", "{%d}" % (units))
27 hidden_state_in = Input("hidden_state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, units))
31 hidden_state_out = IgnoredOutput("hidden_state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, units
32 output = Output("output", "TENSOR_FLOAT32", "{%d, %d}" % (batches, units))
Dsvdf_state.mod.py18 units = 4 variable
25 weights_feature = Input("weights_feature", "TENSOR_FLOAT32", "{%d, %d}" % (units, input_size))
26 weights_time = Input("weights_time", "TENSOR_FLOAT32", "{%d, %d}" % (units, memory_size))
27 bias = Input("bias", "TENSOR_FLOAT32", "{%d}" % (units))
28 state_in = Input("state_in", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*units))
31 state_out = Output("state_out", "TENSOR_FLOAT32", "{%d, %d}" % (batches, memory_size*units))
32 output = Output("output", "TENSOR_FLOAT32", "{%d, %d}" % (batches, units))
Dsvdf_bias_present.mod.py20 units = int(features / rank) variable
29 bias = Input("bias", "TENSOR_FLOAT32", "{%d}" % (units))
34 output = Output("output", "TENSOR_FLOAT32", "{%d, %d}" % (batches, units))
135 golden_start = i * units * batches
136 golden_end = golden_start + units * batches
Dsvdf2.mod.py20 units = int(features / rank) variable
29 bias = Input("bias", "TENSOR_FLOAT32", "{%d}" % (units))
34 output = Output("output", "TENSOR_FLOAT32", "{%d, %d}" % (batches, units))
150 golden_start = i * units * batches
151 golden_end = golden_start + units * batches
Dsvdf.mod.py20 units = int(features / rank) variable
29 bias = Input("bias", "TENSOR_FLOAT32", "{%d}" % (units))
34 output = Output("output", "TENSOR_FLOAT32", "{%d, %d}" % (batches, units))
135 golden_start = i * units * batches
136 golden_end = golden_start + units * batches
/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/utils/
DSensorMetadata.java62 private SensorMetadata(String translationString, String name, String units) { in SensorMetadata() argument
74 this.mUnits = units; in SensorMetadata()
89 private SensorMetadata(float scale, float offset, String name, String units) { in SensorMetadata() argument
93 this.mUnits = units; in SensorMetadata()
123 String units = readStringFromJSON(UNITS_KEY, json); in buildFromJson() local
131 return new SensorMetadata(scale, offset, name, units); in buildFromJson()
145 return new SensorMetadata(translationString, name, units); in buildFromJson()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCarUnitsManager.java19 import com.android.car.settings.units.CarUnitsManager;
20 import com.android.car.settings.units.Unit;
21 import com.android.car.settings.units.UnitsMap;
83 public static void setUnitsSupportedByProperty(int propertyId, Unit[] units) { in setUnitsSupportedByProperty() argument
84 sSupportedUnits.put(propertyId, units); in setUnitsSupportedByProperty()
/packages/apps/Settings/src/com/android/settings/utils/
DFileSizeFormatter.java61 .unicodeWrap(context.getString(getFileSizeSuffix(context), res.value, res.units)); in formatFileSize()
112 final String units = res.getString(suffix); in formatBytes() local
114 return new Formatter.BytesResult(roundedString, units, roundedBytes); in formatBytes()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DFileSizeFormatter.java61 .unicodeWrap(context.getString(getFileSizeSuffix(context), res.value, res.units)); in formatFileSize()
112 String units = res.getString(suffix); in formatBytes() local
114 return new Formatter.BytesResult(roundedString, units, roundedBytes); in formatBytes()
/packages/apps/Car/Settings/src/com/android/car/settings/units/
DCarUnitsManager.java17 package com.android.car.settings.units;
91 List<Unit> units = new ArrayList<Unit>(); in getUnitsSupportedByProperty() local
103 units.add(unit); in getUnitsSupportedByProperty()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DUsageBytesThresholdPickerDialog.java92 String[] units = getContext().getResources().getStringArray(R.array.bytes_picker_sizes); in onCreateDialog() local
95 mBytesUnits.setMaxValue(units.length - 1); in onCreateDialog()
96 mBytesUnits.setDisplayedValues(units); in onCreateDialog()
/packages/services/BuiltInPrintService/jni/ipphelper/
Dipphelper.c483 ipp_res_t units; in print_col() local
485 xres = ippGetResolution(attr, i, &yres, &units); in print_col()
489 units == IPP_RES_PER_INCH ? "dpi" : "dpc"); in print_col()
571 ipp_res_t units; in print_attr() local
573 xres = ippGetResolution(attr, i, &yres, &units); in print_attr()
577 units == IPP_RES_PER_INCH ? "dpi" : "dpc"); in print_attr()
845 ipp_res_t units; in get_supportedPrinterResolutions() local
847 xres = ippGetResolution(attrptr, i, &yres, &units); in get_supportedPrinterResolutions()
848 if (units == IPP_RES_PER_INCH) { in get_supportedPrinterResolutions()
/packages/apps/Settings/src/com/android/settings/
DSummaryPreference.java61 public void setUnits(String units) { in setUnits() argument
62 mUnits = units; in setUnits()
/packages/services/Car/cpp/evs/apps/default/
Dconfig.json.readme6 // Throughout this file, units of length are arbitrary, but must all be the same units.

123