Searched refs:outputStateShape (Results 1 – 6 of 6) sorted by relevance
/frameworks/ml/nn/common/operations/ |
D | UnidirectionalSequenceRNN.cpp | 190 Shape outputStateShape = context->getInputShape(kHiddenStateTensor); in prepare() local 191 outputStateShape.dimensions.resize(2); in prepare() 192 outputStateShape.dimensions[0] = batchSize; in prepare() 193 outputStateShape.dimensions[1] = numUnits; in prepare() 194 NN_RET_CHECK(context->setOutputShape(kStateOutputTensor, outputStateShape)); in prepare()
|
D | UnidirectionalSequenceLSTM.cpp | 317 const Shape outputStateShape = context->getInputShape(kOutputStateInTensor); in prepare() local 318 NN_RET_CHECK_EQ(getNumberOfDimensions(outputStateShape), 2); in prepare() 319 NN_RET_CHECK_EQ(getSizeOfDimension(outputStateShape, 0), batchSize); in prepare() 320 NN_RET_CHECK_EQ(getSizeOfDimension(outputStateShape, 1), outputSize); in prepare()
|
D | QLSTM.cpp | 297 const Shape outputStateShape = context->getInputShape(kPrevOutputTensor); in prepare() local 298 NN_RET_CHECK_EQ(getNumberOfDimensions(outputStateShape), 2); in prepare() 299 NN_RET_CHECK_EQ(getSizeOfDimension(outputStateShape, 0), batchSize); in prepare() 300 NN_RET_CHECK_EQ(getSizeOfDimension(outputStateShape, 1), outputSize); in prepare()
|
D | LSTM.cpp | 304 Shape* scratchShape, Shape* outputStateShape, Shape* cellStateShape, in Prepare() argument 380 outputStateShape->type = inputShape.type; in Prepare() 381 outputStateShape->dimensions = {n_batch, n_output}; in Prepare() 382 outputStateShape->offset = inputShape.offset; in Prepare() 383 outputStateShape->scale = inputShape.scale; in Prepare()
|
D | LSTM.h | 54 Shape* outputStateShape, Shape* cellStateShape, Shape* outputShape);
|
/frameworks/ml/nn/common/ |
D | CpuExecutor.cpp | 1102 Shape scratchShape, outputStateShape, cellStateShape, outputShape; in executeOperation() local 1105 success = lstm_cell.Prepare(operation, operands, &scratchShape, &outputStateShape, in executeOperation() 1108 setInfoAndAllocateIfNeeded(&outputStateOut, outputStateShape, &result) && in executeOperation()
|