Skip to main content

Mojo function

interpolate_point_1d

interpolate_point_1d[InputLayoutType: TensorLayout, //, coordinate_transformation_mode: CoordinateTransformationMode, antialias: Bool, dtype: DType, interpolation_mode: InterpolationMode](interpolator: Interpolator[interpolation_mode], dim: Int, out_coords: IndexList[InputLayoutType.rank], scale: Float32, input: TileTensor[dtype, InputLayoutType, origin, linear_idx_type=linear_idx_type, element_shape_types=element_shape_types], output: TileTensor[dtype, LayoutType, origin, linear_idx_type=linear_idx_type, element_shape_types=element_shape_types])

Was this page helpful?