Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/include/
DOperationsUtils.h194 void calculateExplicitPaddingImpl(int32_t in_size, int32_t stride, int32_t dilation_factor,
199 inline void calculateExplicitPadding(int32_t in_size, int32_t stride, int32_t dilation_factor, in calculateExplicitPadding() argument
202 calculateExplicitPaddingImpl(in_size, stride, dilation_factor, filter_size, padding_implicit, in calculateExplicitPadding()
206 inline void calculateExplicitPadding(int32_t in_size, int32_t stride, int32_t filter_size, in calculateExplicitPadding() argument
209 calculateExplicitPadding(in_size, stride, 1, filter_size, padding_implicit, padding_head, in calculateExplicitPadding()
213 inline void calculateExplicitPaddingTransposeConv(int32_t in_size, int32_t stride, in calculateExplicitPaddingTransposeConv() argument
216 calculateExplicitPaddingImpl(in_size, stride, /*dilation_factor=*/1, filter_size, in calculateExplicitPaddingTransposeConv()
/packages/modules/NeuralNetworks/common/
DOperationsUtils.cpp316 void calculateExplicitPaddingImpl(int32_t in_size, int32_t stride, int32_t dilation_factor, in calculateExplicitPaddingImpl() argument
326 int32_t out_size = (in_size + stride - 1) / stride; in calculateExplicitPaddingImpl()
328 if (tmp > in_size) { in calculateExplicitPaddingImpl()
329 *padding_head = (tmp - in_size) / 2; in calculateExplicitPaddingImpl()
330 *padding_tail = (tmp - in_size) - *padding_head; in calculateExplicitPaddingImpl()
334 *padding_tail = (tmp - in_size) - *padding_head; in calculateExplicitPaddingImpl()
/packages/modules/NeuralNetworks/common/operations/
DTile.cpp33 void CopyMultipleTimes(const T* in_data, int32_t in_size, int32_t multiplier, T* out_data) { in CopyMultipleTimes() argument
35 const T* in_end = in_data + in_size; in CopyMultipleTimes()