Searched refs:numCells (Results 1 – 2 of 2) sorted by relevance
/frameworks/ml/nn/common/operations/ |
D | UnidirectionalSequenceLSTM.cpp | 208 const uint32_t numCells = getSizeOfDimension(inputToOutputShape, 0); in prepare() local 212 NN_RET_CHECK_EQ(getSizeOfDimension(recurrentToOutputShape, 0), numCells); in prepare() 218 NN_RET_CHECK_EQ(getSizeOfDimension(inputToInputShape, 0), numCells); in prepare() 224 NN_RET_CHECK_EQ(getSizeOfDimension(inputToForgetShape, 0), numCells); in prepare() 228 NN_RET_CHECK_EQ(getSizeOfDimension(inputToCellShape, 0), numCells); in prepare() 234 NN_RET_CHECK_EQ(getSizeOfDimension(recurrentToInputShape, 0), numCells); in prepare() 240 NN_RET_CHECK_EQ(getSizeOfDimension(recurrentToForgetShape, 0), numCells); in prepare() 244 NN_RET_CHECK_EQ(getSizeOfDimension(recurrentToCellShape, 0), numCells); in prepare() 258 NN_RET_CHECK_EQ(getSizeOfDimension(cellToInputShape, 0), numCells); in prepare() 264 NN_RET_CHECK_EQ(getSizeOfDimension(cellToForgetShape, 0), numCells); in prepare() [all …]
|
D | LSTM.cpp | 437 const uint32_t numCells = getSizeOfDimension(input_to_output_weights_shape, 0); in LSTMEvalFloat32() local 472 cell_state_in_buffer + batchSize * numCells); in LSTMEvalFloat32() 509 cell_state_out_buffer + batchSize * numCells); in LSTMEvalFloat32() 557 const uint32_t numCells = getSizeOfDimension(input_to_output_weights_shape, 0); in LSTMEvalFloat16() local 567 std::vector<float> input_to_input_weights_float32(numCells * inputSize); in LSTMEvalFloat16() 571 std::vector<float> input_to_forget_weights_float32(numCells * inputSize); in LSTMEvalFloat16() 573 std::vector<float> input_to_cell_weights_float32(numCells * inputSize); in LSTMEvalFloat16() 575 std::vector<float> input_to_output_weights_float32(numCells * inputSize); in LSTMEvalFloat16() 578 std::vector<float> recurrent_to_input_weights_float32(numCells * outputSize); in LSTMEvalFloat16() 583 std::vector<float> recurrent_to_forget_weights_float32(numCells * outputSize); in LSTMEvalFloat16() [all …]
|