图像比率
节点功能:用于计算图像的宽高比例。
节点中英文对比
图像比率
ImageRatio
图像比率 - 参数说明
输入参数
image
输入图像张量。支持单张图像。
输出参数
width_ratio_int
最简化后的宽度比例(整数)。
height_ratio_int
最简化后的高度比例(整数)。
width_ratio_float
与整数相同,保留为 float 类型。
height_ratio_float
与整数相同,保留为 float 类型。
暂无节点说明