Home
last modified time | relevance | path

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

123

/frameworks/ml/nn/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
/frameworks/ml/nn/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.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
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
/frameworks/ml/nn/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_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
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
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaMemoryTracer.cpp68 type = typeResult->second.units; in processElement()
83 resourceName = categoryResult->second.units; in processElement()
102 SkASSERT(sizeResult->second.units == typeResult->second.units); in processElement()
121 const char* units, uint64_t value) { in dumpNumericValue() argument
126 mCurrentValues.insert({valueName, {units, value}}); in dumpNumericValue()
140 traceValue.units, traceValue.count, entry); in logOutput()
148 traceValue.value, traceValue.units, traceValue.count, entry); in logOutput()
158 total.value, total.units, purgeable.value, purgeable.units); in logTotals()
163 if (SkString("bytes") == SkString(output.units) && output.value >= 1024) { in convertUnits()
165 output.units = "KB"; in convertUnits()
[all …]
DSkiaMemoryTracer.h40 void dumpNumericValue(const char* dumpName, const char* valueName, const char* units,
58 TraceValue(const char* units, uint64_t value) : units(units), value(value), count(1) {} in TraceValue()
59 TraceValue(const TraceValue& v) : units(v.units), value(v.value), count(v.count) {} in TraceValue()
61 const char* units; member
DATraceMemoryDump.cpp65 const char* units, uint64_t value) { in dumpNumericValue() argument
66 if (!strcmp(units, "bytes")) { in dumpNumericValue()
DATraceMemoryDump.h35 void dumpNumericValue(const char* dumpName, const char* valueName, const char* units,
/frameworks/base/core/java/android/view/
DVelocityTracker.java45 private static native void nativeComputeCurrentVelocity(long ptr, int units, float maxVelocity); in nativeComputeCurrentVelocity() argument
137 public void computeCurrentVelocity(int units) { in computeCurrentVelocity() argument
138 nativeComputeCurrentVelocity(mPtr, units, Float.MAX_VALUE); in computeCurrentVelocity()
154 public void computeCurrentVelocity(int units, float maxVelocity) { in computeCurrentVelocity() argument
155 nativeComputeCurrentVelocity(mPtr, units, maxVelocity); in computeCurrentVelocity()
/frameworks/base/core/java/android/text/format/
DFormatter.java52 public final String units; field in Formatter.BytesResult
55 public BytesResult(String value, String units, long roundedBytes) { in BytesResult() argument
57 this.units = units; in BytesResult()
105 res.value, res.units)); in formatFileSize()
119 res.value, res.units)); in formatShortFileSize()
195 final String units = res.getString(suffix); in formatBytes() local
197 return new BytesResult(roundedString, units, roundedBytes); in formatBytes()
/frameworks/base/core/jni/
Dandroid_view_VelocityTracker.cpp52 void computeCurrentVelocity(int32_t units, float maxVelocity);
81 void VelocityTrackerState::computeCurrentVelocity(int32_t units, float maxVelocity) { in computeCurrentVelocity() argument
91 vx = vx * units / 1000; in computeCurrentVelocity()
92 vy = vy * units / 1000; in computeCurrentVelocity()
174 jlong ptr, jint units, jfloat maxVelocity) { in android_view_VelocityTracker_nativeComputeCurrentVelocity() argument
176 state->computeCurrentVelocity(units, maxVelocity); in android_view_VelocityTracker_nativeComputeCurrentVelocity()
/frameworks/native/cmds/bugreportz/
Dreadme.md12 progress units out of a max of `<total>`).
/frameworks/ml/nn/common/operations/
DRNNTest.cpp133 BasicRNNOpModel(uint32_t batches, uint32_t units, uint32_t size) in BasicRNNOpModel() argument
134 : batches_(batches), units_(units), input_size_(size), activation_(kActivationRelu) { in BasicRNNOpModel()

123