Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/operations/
DMultinomial.cpp54 Multinomial::Multinomial(const Operation& operation, RunTimeOperandInfo* operands) { in Multinomial() function in android::nn::Multinomial
63 bool Multinomial::Prepare(const Operation& operation, RunTimeOperandInfo* operands, in Prepare()
69 const RunTimeOperandInfo* input = GetInput(operation, operands, Multinomial::kInputTensor); in Prepare()
84 bool Multinomial::Eval() { in Eval()
105 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.h34 class Multinomial {
36 Multinomial(const hal::Operation& operation, RunTimeOperandInfo* operands);
/frameworks/ml/nn/common/
DAndroid.bp170 "operations/Multinomial.cpp",
DCpuExecutor.cpp1116 RunTimeOperandInfo& output = operands[outs[Multinomial::kOutputTensor]]; in executeOperation()
1119 Multinomial multinomial(operation, operands); in executeOperation()
1121 success = Multinomial::Prepare(operation, operands, &outputShape) && in executeOperation()