Home
last modified time | relevance | path

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

/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.cc36 std::vector<Attribute> floatValues({floatAttr}); in CreateConstOpWithSingleValue() local
37 attr = DenseElementsAttr::get(scalar_type, floatValues); in CreateConstOpWithSingleValue()
41 std::vector<Attribute> floatValues({floatAttr}); in CreateConstOpWithSingleValue() local
42 attr = DenseElementsAttr::get(scalar_type, floatValues); in CreateConstOpWithSingleValue()
/external/llvm-project/mlir/lib/Parser/
DAttributeParser.cpp462 std::vector<APFloat> &floatValues);
557 std::vector<APFloat> floatValues; in getAttr() local
558 if (failed(getFloatAttrElements(loc, floatTy, floatValues))) in getAttr()
563 reinterpret_cast<std::complex<APFloat> *>(floatValues.data()), in getAttr()
564 floatValues.size() / 2); in getAttr()
567 return DenseElementsAttr::get(type, floatValues); in getAttr()
621 std::vector<APFloat> &floatValues) { in getFloatAttrElements() argument
622 floatValues.reserve(storage.size()); in getFloatAttrElements()
641 floatValues.push_back(*apVal); in getFloatAttrElements()
661 floatValues.push_back(apVal); in getFloatAttrElements()
/external/angle/src/libANGLE/
DVertexAttribute.inc21 inline void VertexAttribCurrentValueData::setFloatValues(const GLfloat floatValues[4])
25 Values.FloatValues[valueIndex] = floatValues[valueIndex];
DVertexAttribute.h127 void setFloatValues(const GLfloat floatValues[4]);
/external/auto/common/src/test/java/com/google/auto/common/
DAnnotationValuesTest.java91 float[] floatValues(); in floatValues() method
131 floatValues = {14F, 15F},
/external/llvm-project/mlir/lib/IR/
DAsmPrinter.cpp1749 auto floatValues = attr.getFloatValues(); in printDenseIntOrFPElementsAttr() local
1751 printFloatValue(*(floatValues.begin() + index), os); in printDenseIntOrFPElementsAttr()
/external/mockito/lib/
Dbyte-buddy-1.8.15.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...
/external/kotlinc/lib/
Dkotlin-compiler.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/backend-common. ...