Searched refs:zero_type (Results 1 – 2 of 2) sorted by relevance
472 RankedTensorType zero_type = RankedTensorType::get({}, element_dtype); in matchAndRewrite() local473 Attribute zero_attr = rewriter.getZeroAttr(zero_type); in matchAndRewrite()474 auto zero = rewriter.create<ConstantOp>(loc, zero_type, zero_attr); in matchAndRewrite()
428 ShapedType zero_type = in convertZerosLikeOp() local430 Attribute zero_attr = rewriter.getZeroAttr(zero_type); in convertZerosLikeOp()433 .create<tosa::ConstOp>(op->getLoc(), zero_type, in convertZerosLikeOp()