Home
last modified time | relevance | path

Searched refs:output_ (Results 1 – 20 of 20) sorted by relevance

/packages/modules/NeuralNetworks/common/operations/
DMultinomialTest.cpp83 output_.insert(output_.end(), batch_size_ * sample_size_, 0); in Invoke()
84 ASSERT_EQ(execution.setOutput(Multinomial::kOutputTensor, output_.data(), in Invoke()
85 sizeof(uint32_t) * output_.size()), in Invoke()
92 const std::vector<uint32_t>& GetOutput() const { return output_; } in GetOutput()
102 std::vector<uint32_t> output_; member in android::nn::wrapper::MultinomialOpModel
DRNN.cpp42 output_ = GetOutput(operation, operands, kOutputTensor); in RNN()
90 reinterpret_cast<_Float16*>(output_->buffer)); in Eval()
91 memcpy(hidden_state_out_->buffer, output_->buffer, in Eval()
92 sizeof(_Float16) * getNumberOfElements(output_->shape())); in Eval()
102 reinterpret_cast<float*>(output_->buffer)); in Eval()
103 memcpy(hidden_state_out_->buffer, output_->buffer, in Eval()
104 sizeof(float) * getNumberOfElements(output_->shape())); in Eval()
DHashtableLookup.cpp41 output_ = GetOutput(operation, operands, kOutputTensor); in HashtableLookup()
61 memset(output_->buffer + i * row_bytes, 0, row_bytes); in Eval()
64 memcpy(output_->buffer + i * row_bytes, value_->buffer + idx * row_bytes, row_bytes); in Eval()
DSVDF.cpp46 output_ = GetOutput(operation, operands, kOutputTensor); in SVDF()
131 std::vector<float> outputDataFloat32(getNumberOfElements(output_->shape())); in Eval()
139 reinterpret_cast<_Float16*>(output_->buffer)); in Eval()
150 reinterpret_cast<float*>(output_->buffer), in Eval()
DQuantizedLSTMTest.cpp84 output_.resize(numBatches * outputSize, 0); in QuantizedLSTMOpModel()
143 ASSERT_EQ(setOutputTensor(&execution, QuantizedLSTMCell::kOutputTensor, &output_), in invoke()
149 prevOutput_ = output_; in invoke()
195 std::vector<uint8_t> getOutput() { return output_; } in getOutput()
220 std::vector<uint8_t> output_; member in android::nn::wrapper::QuantizedLSTMOpModel
DEmbeddingLookup.cpp32 output_ = GetOutput(operation, operands, kOutputTensor); in EmbeddingLookup()
47 memcpy(output_->buffer + i * row_bytes, value_->buffer + idx * row_bytes, row_bytes); in Eval()
DMultinomial.cpp62 output_ = GetOutput(operation, operands, kOutputTensor); in Multinomial()
142 auto* output_ptr_batch = GetBuffer<int32_t>(output_) + b * sample_count_; in EvalFloat32()
DLSHProjection.cpp41 output_ = GetOutput(operation, operands, kOutputTensor); in LSHProjection()
163 int32_t* out_buf = reinterpret_cast<int32_t*>(output_->buffer); in Eval()
DQuantizedLSTM.cpp242 output_ = GetOutput(operation, operands, kOutputTensor); in QuantizedLSTMCell()
419 GetBuffer<uint8_t>(output_), convertShapeToDims(output_->shape()), concatTemp.data(), in eval()
DEmbeddingLookup.h44 RunTimeOperandInfo* output_; variable
DHashtableLookup.h47 RunTimeOperandInfo* output_; variable
DMultinomial.h53 RunTimeOperandInfo* output_; variable
DSVDF.h72 RunTimeOperandInfo* output_; variable
DLSHProjection.h61 RunTimeOperandInfo* output_; variable
DQuantizedLSTM.h86 RunTimeOperandInfo* output_; variable
DRNN.h74 RunTimeOperandInfo* output_; variable
DLSTM.h241 RunTimeOperandInfo* output_; variable
DLSTM.cpp126 output_ = GetOutput(operation, operands, kOutputTensor); in LSTMCell()
1025 GetBuffer<float>(output_), GetBuffer<float>(scratch_buffer_)); in Eval()
1060 GetBuffer<_Float16>(cell_state_out_), GetBuffer<_Float16>(output_), in Eval()
/packages/modules/adb/
Dbugreport_test.cpp71 : type_(type), output_(output) { in OnStandardStreamsCallbackAction()
75 ::std::tr1::get<0>(args)->OnStdout(output_.c_str(), output_.size()); in Perform()
78 ::std::tr1::get<0>(args)->OnStderr(output_.c_str(), output_.size()); in Perform()
84 std::string output_; member in OnStandardStreamsCallbackAction
/packages/modules/adb/daemon/
Dshell_service.cpp210 std::unique_ptr<ShellProtocol> input_, output_; member in __anon543b8fee0111::Subprocess
478 output_ = std::make_unique<ShellProtocol>(protocol_sfd_); in ConnectProtocolEndpoints()
479 if (!input_ || !output_) { in ConnectProtocolEndpoints()
740 int bytes = adb_read(*sfd, output_->data(), output_->data_capacity()); in PassOutput()
750 if (bytes > 0 && !output_->Write(id, bytes)) { in PassOutput()
785 output_->data()[0] = exit_code; in WaitForExit()
786 if (output_->Write(ShellProtocol::kIdExit, 1)) { in WaitForExit()