Home
last modified time | relevance | path

Searched refs:computed_paddings (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dlegalize_utils.cc366 SmallVector<int64_t> computed_paddings; in getPaddingValuesFromPadType() local
390 computed_paddings.push_back(pad_before); in getPaddingValuesFromPadType()
391 computed_paddings.push_back(pad_after); in getPaddingValuesFromPadType()
394 explicit_padding = rewriter.getI64ArrayAttr(computed_paddings); in getPaddingValuesFromPadType()
411 SmallVector<int64_t> computed_paddings; in getPaddingValuesFromExplicitPadAttr() local
420 computed_paddings.push_back(pad_before); in getPaddingValuesFromExplicitPadAttr()
421 computed_paddings.push_back(pad_after); in getPaddingValuesFromExplicitPadAttr()
424 return rewriter.getI64ArrayAttr(computed_paddings); in getPaddingValuesFromExplicitPadAttr()
440 SmallVector<int64_t> computed_paddings; in getTransposeConv2dPaddingValues() local
467 computed_paddings.push_back(pad_before); in getTransposeConv2dPaddingValues()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tosa/g3doc/
Dlegalization.md105 vector<int64> computed_paddings
111 computed_paddings.push_back(pad_before)
112 computed_paddings.push_back(pad_after)
115 return computed_paddings
147 computed_paddings.push_back(pad_before_tf);
148 computed_paddings.push_back(pad_after_tf);
151 return computed_paddings;