parent
b490ef545f
commit
11a9888c3f
@ -147,7 +147,7 @@ void combine_bf_with_first_spatial_dim(cldnn::layout& l) {
|
||||
l.size.spatial[last_spatial_dim_idx] = 1;
|
||||
}
|
||||
|
||||
int64_t get_f_offset(cldnn::layout l, dnnl::memory::desc&& desc) {
|
||||
int64_t get_f_offset(cldnn::layout&& l, dnnl::memory::desc&& desc) {
|
||||
int64_t offset = 0;
|
||||
auto f_padding = l.data_padding.lower_size().feature[0];
|
||||
if (f_padding != 0) {
|
||||
|
@ -33,7 +33,7 @@ dnnl::memory::desc layout_to_memory_desc(cldnn::layout l, dnnl::memory::format_t
|
||||
dnnl::algorithm convert_activation_func(cldnn::activation_func func);
|
||||
cldnn::format find_format(dnnl::memory::desc desc, bool is_grouped = false);
|
||||
|
||||
int64_t get_f_offset(cldnn::layout l, dnnl::memory::desc&& desc);
|
||||
int64_t get_f_offset(cldnn::layout&& l, dnnl::memory::desc&& desc);
|
||||
|
||||
// If the values in the tensor are identical, make it as per-tensor value
|
||||
template <typename T>
|
||||
|
Loading…
Reference in New Issue
Block a user