Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dlegalize_common.cc2999 double fp_stride_x = in convertResizeOp() local
3006 fp_stride_x = static_cast<double>(input_width - 1) / in convertResizeOp()
3013 fp_offset_x = fp_stride_x * 0.5f - 0.5f; in convertResizeOp()
3037 int32_t stride_x = std::lround(fp_stride_x * unit); in convertResizeOp()
3146 {static_cast<float>(fp_stride_y), static_cast<float>(fp_stride_x)}), in convertResizeOp()
/external/tensorflow/tensorflow/compiler/mlir/tosa/g3doc/
Dlegalization.md609 float64 fp_stride_y, fp_stride_x
615 fp_stride_x = static_cast<float64>(input_width - 1) / static_cast<float64>(output_width - 1)
617 fp_stride_x = static_cast<float64>(input_width) / static_cast<float64>(output_width)
622 fp_offset_x = fp_stride_x * 0.5f - 0.5f
626 …%op1_resize_in = tosa.RESIZE(%input) {stride={fp_stride_y, fp_stride_x}, offset={fp_offset_y, fp_o…
631 int32 stride_x = fp_stride_x * unit