Searched refs:numCells (Results 1 – 2 of 2) sorted by relevance
/frameworks/ml/nn/common/operations/ |
D | UnidirectionalSequenceLSTM.cpp | 195 const uint32_t numCells = getSizeOfDimension(inputToOutputShape, 0); in prepare() local 199 NN_RET_CHECK_EQ(getSizeOfDimension(recurrentToOutputShape, 0), numCells); in prepare() 205 NN_RET_CHECK_EQ(getSizeOfDimension(inputToInputShape, 0), numCells); in prepare() 211 NN_RET_CHECK_EQ(getSizeOfDimension(inputToForgetShape, 0), numCells); in prepare() 215 NN_RET_CHECK_EQ(getSizeOfDimension(inputToCellShape, 0), numCells); in prepare() 221 NN_RET_CHECK_EQ(getSizeOfDimension(recurrentToInputShape, 0), numCells); in prepare() 227 NN_RET_CHECK_EQ(getSizeOfDimension(recurrentToForgetShape, 0), numCells); in prepare() 231 NN_RET_CHECK_EQ(getSizeOfDimension(recurrentToCellShape, 0), numCells); in prepare() 245 NN_RET_CHECK_EQ(getSizeOfDimension(cellToInputShape, 0), numCells); in prepare() 251 NN_RET_CHECK_EQ(getSizeOfDimension(cellToForgetShape, 0), numCells); in prepare() [all …]
|
D | LSTM.cpp | 394 const uint32_t numCells = getSizeOfDimension(input_to_output_weights_shape, 0); in LSTMEvalFloat32() local 429 cell_state_in_buffer + batchSize * numCells); in LSTMEvalFloat32() 466 cell_state_out_buffer + batchSize * numCells); in LSTMEvalFloat32() 514 const uint32_t numCells = getSizeOfDimension(input_to_output_weights_shape, 0); in LSTMEvalFloat16() local 524 std::vector<float> input_to_input_weights_float32(numCells * inputSize); in LSTMEvalFloat16() 528 std::vector<float> input_to_forget_weights_float32(numCells * inputSize); in LSTMEvalFloat16() 530 std::vector<float> input_to_cell_weights_float32(numCells * inputSize); in LSTMEvalFloat16() 532 std::vector<float> input_to_output_weights_float32(numCells * inputSize); in LSTMEvalFloat16() 535 std::vector<float> recurrent_to_input_weights_float32(numCells * outputSize); in LSTMEvalFloat16() 540 std::vector<float> recurrent_to_forget_weights_float32(numCells * outputSize); in LSTMEvalFloat16() [all …]
|