Home
last modified time | relevance | path

Searched refs:Multinomial (Results 1 – 5 of 5) sorted by relevance

/frameworks/ml/nn/common/operations/
DMultinomial.cpp47 Multinomial::Multinomial(const Operation& operation, std::vector<RunTimeOperandInfo>& operands) { in Multinomial() function in android::nn::Multinomial
56 bool Multinomial::Prepare(const Operation& operation, std::vector<RunTimeOperandInfo>& operands, in Prepare()
62 const RunTimeOperandInfo* input = GetInput(operation, operands, Multinomial::kInputTensor); in Prepare()
77 bool Multinomial::Eval() { in Eval()
98 void Multinomial::EvalFloat32(const float* inputData) { in EvalFloat32()
DMultinomialTest.cpp71 ASSERT_EQ(execution.setInput(Multinomial::kInputTensor, input_.data(), in Invoke()
74 ASSERT_EQ(execution.setInput(Multinomial::kSampleCountParam, &sample_size_, in Invoke()
79 ASSERT_EQ(execution.setInput(Multinomial::kRandomSeedsTensor, seeds.data(), in Invoke()
84 ASSERT_EQ(execution.setOutput(Multinomial::kOutputTensor, output_.data(), in Invoke()
DMultinomial.h33 class Multinomial {
35 Multinomial(const android::hardware::neuralnetworks::V1_2::Operation& operation,
/frameworks/ml/nn/common/
DAndroid.bp140 "operations/Multinomial.cpp",
DCpuExecutor.cpp1137 RunTimeOperandInfo& output = mOperands[outs[Multinomial::kOutputTensor]]; in executeOperation()
1140 Multinomial multinomial(operation, mOperands); in executeOperation()
1142 success = Multinomial::Prepare(operation, mOperands, &outputShape) && in executeOperation()