ONE - On-device Neural Engine
|
#include "Shape.h"
#include <cstdint>
Go to the source code of this file.
Functions | |
bool | reshapePrepare (const Shape &input, const int32_t *targetDims, const int32_t targetDimsSize, Shape *output) |
bool | reshapeGeneric (const void *inputData, const Shape &inputShape, void *outputData, const Shape &outputShape) |
bool reshapeGeneric | ( | const void * | inputData, |
const Shape & | inputShape, | ||
void * | outputData, | ||
const Shape & | outputShape | ||
) |
Definition at line 67 of file Reshape.cpp.
References Shape::dimensions, sizeOfData(), and Shape::type.
bool reshapePrepare | ( | const Shape & | input, |
const int32_t * | targetDims, | ||
const int32_t | targetDimsSize, | ||
Shape * | output | ||
) |
Definition at line 24 of file Reshape.cpp.
References ASSERT, and getNumberOfElements().