Home
last modified time | relevance | path

Searched refs:scratchShape (Results 1 – 3 of 3) sorted by relevance

/aosp12/packages/modules/NeuralNetworks/common/operations/
H A DLSTM.cpp304 Shape* scratchShape, Shape* outputStateShape, Shape* cellStateShape, in Prepare() argument
392 scratchShape->dimensions = {n_batch, n_cell * 3}; in Prepare()
395 scratchShape->dimensions = {n_batch, n_cell * 4}; in Prepare()
397 scratchShape->type = inputShape.type; in Prepare()
398 scratchShape->offset = inputShape.offset; in Prepare()
399 scratchShape->scale = inputShape.scale; in Prepare()
H A DLSTM.h53 bool Prepare(const Operation& operation, RunTimeOperandInfo* operands, Shape* scratchShape,
/aosp12/packages/modules/NeuralNetworks/common/
H A DCpuExecutor.cpp1046 Shape scratchShape, outputStateShape, cellStateShape, outputShape; in executeOperation() local
1049 success = lstm_cell.Prepare(operation, operands, &scratchShape, &outputStateShape, in executeOperation()
1051 setInfoAndAllocateIfNeeded(&scratch, scratchShape, &result) && in executeOperation()