Searched refs:padding_attr (Results 1 – 5 of 5) sorted by relevance
97 auto padding_attr = op->getAttrOfType<StringAttr>("padding"); in TFPaddingIsSameOrValid() local98 if (padding_attr.getValue() != "SAME" && padding_attr.getValue() != "VALID") in TFPaddingIsSameOrValid()100 *padding = padding_attr; in TFPaddingIsSameOrValid()
107 auto& padding_attr = padding_attr_and_idx.value(); in GetRemappedPaddings() local108 auto padding = padding_attr.dyn_cast<StringAttr>(); in GetRemappedPaddings()
183 auto& padding_attr = padding_and_idx.value(); in SetMetadataProtoPaddingMap() local184 auto padding_attr_str = padding_attr.dyn_cast<StringAttr>(); in SetMetadataProtoPaddingMap()
1182 auto padding_attr = DenseIntElementsAttr::get(attr_type, padding); in ConvertPadOp() local1183 auto padding_op = rewriter.create<ConstantOp>(loc, attr_type, padding_attr); in ConvertPadOp()
386 const tflite::Padding padding_attr = in GetTflitePadding() local390 if (padding_attr == tflite::Padding_SAME) { in GetTflitePadding()393 if (padding_attr == tflite::Padding_VALID) { in GetTflitePadding()