Home
last modified time | relevance | path

Searched refs:outputLocations (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/lite/java/ovic/src/main/java/org/tensorflow/ovic/
DOvicDetector.java48 private float[][][] outputLocations; field in OvicDetector
91 outputLocations = new float[1][NUM_RESULTS][4]; in OvicDetector()
96 outputMap.put(0, outputLocations); in OvicDetector()
146 outputLocations[0][i][1] * inputDims[2], in detectByteBuffer()
147 outputLocations[0][i][0] * inputDims[1], in detectByteBuffer()
148 outputLocations[0][i][3] * inputDims[2], in detectByteBuffer()
149 outputLocations[0][i][2] * inputDims[1], in detectByteBuffer()
/external/tensorflow/tensorflow/tools/android/test/src/org/tensorflow/demo/
DTensorFlowObjectDetectionAPIModel.java54 private float[] outputLocations; field in TensorFlowObjectDetectionAPIModel
126 d.outputLocations = new float[MAX_RESULTS * 4]; in create()
163 outputLocations = new float[MAX_RESULTS * 4]; in recognizeImage()
167 inferenceInterface.fetch(outputNames[0], outputLocations); in recognizeImage()
189 outputLocations[4 * i + 1] * inputSize, in recognizeImage()
190 outputLocations[4 * i] * inputSize, in recognizeImage()
191 outputLocations[4 * i + 3] * inputSize, in recognizeImage()
192 outputLocations[4 * i + 2] * inputSize); in recognizeImage()
DTensorFlowMultiBoxDetector.java56 private float[] outputLocations; field in TensorFlowMultiBoxDetector
127 d.outputLocations = new float[d.numLocations * 4]; in create()
237 outputLocations = decodeLocationsEncoding(outputLocationsEncoding); in recognizeImage()
256 outputLocations[4 * i] * inputSize, in recognizeImage()
257 outputLocations[4 * i + 1] * inputSize, in recognizeImage()
258 outputLocations[4 * i + 2] * inputSize, in recognizeImage()
259 outputLocations[4 * i + 3] * inputSize); in recognizeImage()
/external/angle/src/libANGLE/
DProgramExecutable.cpp66 bool FindUsedOutputLocation(std::vector<VariableLocation> &outputLocations, in FindUsedOutputLocation() argument
72 if (baseLocation + elementCount > outputLocations.size()) in FindUsedOutputLocation()
74 elementCount = baseLocation < outputLocations.size() in FindUsedOutputLocation()
75 ? static_cast<unsigned int>(outputLocations.size() - baseLocation) in FindUsedOutputLocation()
81 if (outputLocations[location].used()) in FindUsedOutputLocation()
94 void AssignOutputLocations(std::vector<VariableLocation> &outputLocations, in AssignOutputLocations() argument
101 if (baseLocation + elementCount > outputLocations.size()) in AssignOutputLocations()
103 outputLocations.resize(baseLocation + elementCount); in AssignOutputLocations()
113 outputLocations[location] = locationInfo; in AssignOutputLocations()
1386 std::vector<VariableLocation> &outputLocations = in linkValidateOutputVariables() local
[all …]
/external/angle/src/libANGLE/renderer/gl/
DProgramGL.cpp358 const auto &outputLocations = mState.getOutputLocations(); in link() local
360 for (size_t outputLocationIndex = 0u; outputLocationIndex < outputLocations.size(); in link()
364 outputLocations[outputLocationIndex]; in link()
/external/angle/src/libANGLE/renderer/vulkan/
DProgramExecutableVk.cpp141 const std::vector<gl::VariableLocation> &outputLocations = glExecutable.getOutputLocations(); in SetupDefaultPipelineState() local
143 for (const gl::VariableLocation &outputLocation : outputLocations) in SetupDefaultPipelineState()
Dspv_utils.cpp390 const auto &outputLocations = programExecutable.getOutputLocations(); in AssignOutputLocations() local
395 for (const gl::VariableLocation &outputLocation : outputLocations) in AssignOutputLocations()