pub struct ProviderInterp1Request<'a> {
pub x: &'a GpuTensorHandle,
pub y: &'a GpuTensorHandle,
pub xq: &'a GpuTensorHandle,
pub sample_len: usize,
pub series_count: usize,
pub query_len: usize,
pub output_shape: &'a [usize],
pub method: ProviderInterp1Method,
pub extrapolation: ProviderInterp1Extrapolation,
pub extrapolation_value: f64,
}Fields§
§x: &'a GpuTensorHandleStrictly increasing, finite sample coordinates validated by the runtime before dispatch. Providers may assume this monotonic domain invariant.
y: &'a GpuTensorHandle§xq: &'a GpuTensorHandle§sample_len: usize§series_count: usize§query_len: usize§output_shape: &'a [usize]§method: ProviderInterp1Method§extrapolation: ProviderInterp1Extrapolation§extrapolation_value: f64Trait Implementations§
Source§impl<'a> Clone for ProviderInterp1Request<'a>
impl<'a> Clone for ProviderInterp1Request<'a>
Source§fn clone(&self) -> ProviderInterp1Request<'a>
fn clone(&self) -> ProviderInterp1Request<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for ProviderInterp1Request<'a>
impl<'a> RefUnwindSafe for ProviderInterp1Request<'a>
impl<'a> Send for ProviderInterp1Request<'a>
impl<'a> Sync for ProviderInterp1Request<'a>
impl<'a> Unpin for ProviderInterp1Request<'a>
impl<'a> UnsafeUnpin for ProviderInterp1Request<'a>
impl<'a> UnwindSafe for ProviderInterp1Request<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more