Home
last modified time | relevance | path

Searched refs:floatValues (Results 1 – 13 of 13) sorted by relevance

/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/
DAnnotationUtilsTest.java59 floatValues = { 0 },
74 floatValues = { 0 },
99 floatValues = { 0 },
135 floatValues = { 0 },
150 floatValues = { 0 },
175 floatValues = { 0 },
211 floatValues = { 0 },
226 floatValues = { 0 },
251 floatValues = { 0 },
276 floatValues = { 0 },
[all …]
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/
DTensorFlowImageClassifier.java51 private float[] floatValues; field in TensorFlowImageClassifier
120 c.floatValues = new float[inputSize * inputSize * 3]; in create()
137 floatValues[i * 3 + 0] = (((val >> 16) & 0xFF) - imageMean) / imageStd; in recognizeImage()
138 floatValues[i * 3 + 1] = (((val >> 8) & 0xFF) - imageMean) / imageStd; in recognizeImage()
139 floatValues[i * 3 + 2] = ((val & 0xFF) - imageMean) / imageStd; in recognizeImage()
145 inferenceInterface.feed(inputName, floatValues, 1, inputSize, inputSize, 3); in recognizeImage()
DStylizeActivity.java106 private float[] floatValues; field in StylizeActivity
482 floatValues = new float[desiredSize * desiredSize * 3]; in resetPreviewBuffers()
503 floatValues = new float[desiredSize * desiredSize * 3]; in processImage()
547 floatValues[i * 3] = val; in stylizeImage()
548 floatValues[i * 3 + 1] = val; in stylizeImage()
549 floatValues[i * 3 + 2] = val; in stylizeImage()
554 floatValues[i * 3] = ((val >> 16) & 0xFF) / 255.0f; in stylizeImage()
555 floatValues[i * 3 + 1] = ((val >> 8) & 0xFF) / 255.0f; in stylizeImage()
556 floatValues[i * 3 + 2] = (val & 0xFF) / 255.0f; in stylizeImage()
563 INPUT_NODE, floatValues, 1, bitmap.getWidth(), bitmap.getHeight(), 3); in stylizeImage()
[all …]
DTensorFlowYoloDetector.java80 private float[] floatValues; field in TensorFlowYoloDetector
104 d.floatValues = new float[inputSize * inputSize * 3]; in create()
146 floatValues[i * 3 + 0] = ((intValues[i] >> 16) & 0xFF) / 255.0f; in recognizeImage()
147 floatValues[i * 3 + 1] = ((intValues[i] >> 8) & 0xFF) / 255.0f; in recognizeImage()
148 floatValues[i * 3 + 2] = (intValues[i] & 0xFF) / 255.0f; in recognizeImage()
154 inferenceInterface.feed(inputName, floatValues, 1, inputSize, inputSize, 3); in recognizeImage()
DTensorFlowMultiBoxDetector.java55 private float[] floatValues; field in TensorFlowMultiBoxDetector
125 d.floatValues = new float[d.inputSize * d.inputSize * 3]; in create()
213 floatValues[i * 3 + 0] = (((intValues[i] >> 16) & 0xFF) - imageMean) / imageStd; in recognizeImage()
214 floatValues[i * 3 + 1] = (((intValues[i] >> 8) & 0xFF) - imageMean) / imageStd; in recognizeImage()
215 floatValues[i * 3 + 2] = ((intValues[i] & 0xFF) - imageMean) / imageStd; in recognizeImage()
221 inferenceInterface.feed(inputName, floatValues, 1, inputSize, inputSize, 3); in recognizeImage()
/external/tensorflow/tensorflow/compiler/mlir/lite/utils/
Dconstant_utils.cc40 std::vector<Attribute> floatValues({floatAttr}); in CreateConstOpWithSingleValue() local
41 attr = DenseElementsAttr::get(scalar_type, floatValues); in CreateConstOpWithSingleValue()
45 std::vector<Attribute> floatValues({floatAttr}); in CreateConstOpWithSingleValue() local
46 attr = DenseElementsAttr::get(scalar_type, floatValues); in CreateConstOpWithSingleValue()
/external/angle/src/libANGLE/
DVertexAttribute.inc21 inline void VertexAttribCurrentValueData::setFloatValues(const GLfloat floatValues[4])
25 Values.FloatValues[valueIndex] = floatValues[valueIndex];
DVertexAttribute.h130 void setFloatValues(const GLfloat floatValues[4]);
/external/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DWriteRawPrimitivesBenchmark.cs54 float[] floatValues; field in Google.Protobuf.Benchmarks.WriteRawPrimitivesBenchmark
91 floatValues = CreateRandomFloats(random, BytesToWrite / sizeof(float)); in GlobalSetup()
310 foreach (var value in floatValues) in WriteRawFloat_CodedOutputStream()
323 foreach (var value in floatValues) in WriteRawFloat_WriteContext()
/external/cronet/tot/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DWriteRawPrimitivesBenchmark.cs54 float[] floatValues; field in Google.Protobuf.Benchmarks.WriteRawPrimitivesBenchmark
91 floatValues = CreateRandomFloats(random, BytesToWrite / sizeof(float)); in GlobalSetup()
310 foreach (var value in floatValues) in WriteRawFloat_CodedOutputStream()
323 foreach (var value in floatValues) in WriteRawFloat_WriteContext()
/external/cronet/stable/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DWriteRawPrimitivesBenchmark.cs54 float[] floatValues; field in Google.Protobuf.Benchmarks.WriteRawPrimitivesBenchmark
91 floatValues = CreateRandomFloats(random, BytesToWrite / sizeof(float)); in GlobalSetup()
310 foreach (var value in floatValues) in WriteRawFloat_CodedOutputStream()
323 foreach (var value in floatValues) in WriteRawFloat_WriteContext()
/external/auto/common/src/test/java/com/google/auto/common/
DAnnotationValuesTest.java93 float[] floatValues(); in floatValues() method
133 floatValues = {14F, 15F},
/external/ow2-asm/asm/src/main/java/org/objectweb/asm/
DClassReader.java3168 float[] floatValues = new float[numValues]; in readElementValue() local
3170 floatValues[i] = in readElementValue()
3175 annotationVisitor.visit(elementName, floatValues); in readElementValue()