Home
last modified time | relevance | path

Searched refs:outputStateShape (Results 1 – 6 of 6) sorted by relevance

/frameworks/ml/nn/common/operations/
DUnidirectionalSequenceRNN.cpp190 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()
DUnidirectionalSequenceLSTM.cpp317 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()
DQLSTM.cpp297 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()
DLSTM.cpp304 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()
DLSTM.h54 Shape* outputStateShape, Shape* cellStateShape, Shape* outputShape);
/frameworks/ml/nn/common/
DCpuExecutor.cpp1102 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()