ONE - On-device Neural Engine
|
#include "Shape.h"
#include <cstdint>
Go to the source code of this file.
Functions | |
bool | padPrepare (const Shape &input, const int32_t *paddingsData, const Shape &paddingsShape, Shape *output) |
bool | padGeneric (const uint8_t *inputData, const Shape &inputShape, const int32_t *paddings, uint8_t *outputData, const Shape &outputShape) |
bool padGeneric | ( | const uint8_t * | inputData, |
const Shape & | inputShape, | ||
const int32_t * | paddings, | ||
uint8_t * | outputData, | ||
const Shape & | outputShape | ||
) |
Definition at line 153 of file Pad.cpp.
References convertShapeToDims(), getNumberOfDimensions(), LOG, and Shape::type.
bool padPrepare | ( | const Shape & | input, |
const int32_t * | paddingsData, | ||
const Shape & | paddingsShape, | ||
Shape * | output | ||
) |
Definition at line 28 of file Pad.cpp.
References ASSERT, getNumberOfDimensions(), getSizeOfDimension(), and Shape::type.