Searched refs:tensors (Results 1 – 8 of 8) sorted by relevance
110 * * 5 ~ (5 + 2 * (n+k)): An optional pair of {@link OperandType::TENSOR_INT32} tensors which116 * * * +0: An optional list of n+k input 1-D {@link OperandType::TENSOR_INT32} tensors, defining123 * * * +1: An optional list of n+k input 1-D {@link OperandType::TENSOR_INT32} tensors, defining
59 * Important: As of NNAPI feature level 3, there is no way to get the output state tensors out61 * in which multiple cells are chained and state tensors are propagated.321 * Types prefaced with %{ANN}TENSOR_* must be used for tensor data (i.e., tensors379 * Adds two tensors, element-wise.381 * Takes two input tensors of identical {@link %{OperandType}} and compatible382 * dimensions. The output is the sum of both input tensors, optionally543 * Concatenates the input tensors along the given dimension.545 * The input tensors must have identical {@link %{OperandType}} and the same564 * * 0 ~ n-1: The list of n input tensors, of shape567 * Before %{NNAPILevel3}, all input tensors of[all …]
334 * runtime and drivers the tensors that define a model. See589 * This structure is used to describe both scalars and tensors.
180 std::vector<int> tensors(operands.size(), -1); in Create() local195 tensors[t] = t; in Create()203 tensors[t] = t; in Create()209 tensors[t] = t; in Create()215 for (int t : tensors) { in Create()217 if (operands[tensors[t]].type != OperandType::TENSOR_FLOAT32) { in Create()224 if (operands[tensors[t]].lifetime == Operand::LifeTime::CONSTANT_COPY || in Create()225 operands[tensors[t]].lifetime == Operand::LifeTime::CONSTANT_REFERENCE || in Create()226 operands[tensors[t]].lifetime == Operand::LifeTime::POINTER) { in Create()227 data = operands[tensors[t]].buffer; in Create()[all …]
231 - **AllTensorsAsInputsConverter:** Convert all constant tensors in the model to model inputs. Will …