Home
last modified time | relevance | path

Searched refs:RNN (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/NeuralNetworks/common/cpu_operations/
DRNN.cpp30 RNN::RNN(const Operation& operation, RunTimeOperandInfo* operands) { in RNN() function in android::nn::RNN
45 bool RNN::Prepare(const Operation& operation, RunTimeOperandInfo* operands, Shape* hiddenStateShape, in Prepare()
81 bool RNN::Eval() { in Eval()
116 bool RNN::RNNStep(const T* inputData, const Shape& inputShape, const T* hiddenStateInputData, in RNNStep()
136 bool RNN::RNNStep(const T* inputData, const Shape& inputShape, const T* auxInputData, in RNNStep()
223 template bool RNN::RNNStep<_Float16>(const _Float16* inputData, const Shape& inputShape,
229 template bool RNN::RNNStep<_Float16>(const _Float16* inputData, const Shape& inputShape,
239 template bool RNN::RNNStep<float>(const float* inputData, const Shape& inputShape,
245 template bool RNN::RNNStep<float>(const float* inputData, const Shape& inputShape,
DRNNTest.cpp201 ASSERT_EQ(execution.setInput(RNN::k##X##Tensor, X##_.data(), sizeof(float) * X##_.size()), \ in Invoke()
209 ASSERT_EQ(execution.setOutput(RNN::k##X##Tensor, X##_.data(), sizeof(float) * X##_.size()), \ in Invoke()
216 ASSERT_EQ(execution.setInput(RNN::kActivationParam, &activation_, sizeof(activation_)), in Invoke()
DBidirectionalSequenceRNN.cpp236 RNN::RNNStep<T>(inputBatchPtr, fixedTimeInputShape, auxInputBatchPtr, in executeTyped()
264 RNN::RNNStep<T>(inputBatchPtr, fixedTimeInputShape, auxInputBatchPtr, in executeTyped()
DUnidirectionalSequenceRNN.cpp96 RNN::RNNStep<T>(input, fixedTimeInputShape, hiddenState, bias, weights, weightsShape, in executeTyped()
/packages/modules/NeuralNetworks/common/types/operations/include/
DRNN.h37 class RNN {
39 RNN(const Operation& operation, RunTimeOperandInfo* operands);
/packages/modules/NeuralNetworks/common/types/operations/src/
DRNN.cpp65 NN_DEFINE_VALIDATION_FUNCTION(RNN, rnn::validate);
/packages/modules/NeuralNetworks/runtime/test/generated/spec_V1_1/
Drnn_relaxed.example.cpp94 .type = TestOperationType::RNN, in get_test_model()
371 .type = TestOperationType::RNN, in get_test_model_all_inputs_as_internal()
Drnn_state_relaxed.example.cpp94 .type = TestOperationType::RNN, in get_test_model()
371 .type = TestOperationType::RNN, in get_test_model_all_inputs_as_internal()
/packages/modules/NeuralNetworks/runtime/test/generated/spec_V1_0/
Drnn.example.cpp94 .type = TestOperationType::RNN, in get_test_model()
371 .type = TestOperationType::RNN, in get_test_model_all_inputs_as_internal()
Drnn_state.example.cpp94 .type = TestOperationType::RNN, in get_test_model()
371 .type = TestOperationType::RNN, in get_test_model_all_inputs_as_internal()
/packages/modules/NeuralNetworks/runtime/test/generated/spec_V1_2/
Drnn_float16.example.cpp94 .type = TestOperationType::RNN, in get_test_model()
371 .type = TestOperationType::RNN, in get_test_model_all_inputs_as_internal()
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DOperationTypes.h1619 RNN = 24, enumerator
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DStaticAssert.cpp80 static_assert(static_cast<TestOperationType>(RNN) == TestOperationType::RNN);
DModel.proto65 RNN = 24; enumerator
/packages/modules/NeuralNetworks/common/
DOperationResolver.cpp39 NN_OPERATION_IS_NOT_IMPLEMENTED(RNN);
DAndroid.bp162 "cpu_operations/RNN.cpp",
349 "cpu_operations/RNN.cpp",
DCpuExecutor.cpp1070 case OperationType::RNN: { in executeOperation()
1075 RunTimeOperandInfo& hiddenStateOut = operands[outs[RNN::kHiddenStateOutTensor]]; in executeOperation()
1076 RunTimeOperandInfo& output = operands[outs[RNN::kOutputTensor]]; in executeOperation()
1079 RNN rnn_cell(operation, operands); in executeOperation()
1081 success = RNN::Prepare(operation, operands, &hiddenStateShape, &outputShape) && in executeOperation()
/packages/modules/NeuralNetworks/runtime/operation_converters/
DOperationConverterResolver.cpp53 NN_OPERATION_CONVERTER_NOT_IMPLEMENTED(RNN);
/packages/modules/NeuralNetworks/common/types/include/
DOperationsUtils.h67 CALL(RNN) \
/packages/modules/NeuralNetworks/runtime/test/
DTestAssertions.cpp67 CHECK_TEST_ENUM(TestOperationType, RNN);
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/
DAssertions.cpp96 COMPARE_ENUMS(RNN);
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/include/
DTestHarness.h119 RNN = 24, enumerator
/packages/modules/NeuralNetworks/runtime/
DNeuralNetworksV2.cpp342 static_assert(static_cast<int32_t>(OperationType::RNN) == ANEURALNETWORKS_RNN,
DNeuralNetworks.cpp340 static_assert(static_cast<int32_t>(OperationType::RNN) == ANEURALNETWORKS_RNN,
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec2276 %{DeclareOperation RNN 24},
3276 * one input into the two RNN cells in the following way:
3286 * An op with cross-linking takes two inputs and feeds them into the RNN
3308 * In this case, the cell feeds inputs into the RNN in the following way:
6016 * A recurrent neural network layer that applies a basic RNN cell to a

12