pub struct GridSample2dOpIr {
pub tensor: TensorIr,
pub grid: TensorIr,
pub options: GridSampleOptionsIr,
pub out: TensorIr,
}Fields§
§tensor: TensorIr§grid: TensorIr§options: GridSampleOptionsIr§out: TensorIrImplementations§
Source§impl GridSample2dOpIr
impl GridSample2dOpIr
Sourcepub fn create(
tensor: TensorIr,
grid: TensorIr,
options: GridSampleOptionsIr,
new_id: impl FnOnce() -> TensorId,
) -> GridSample2dOpIr
pub fn create( tensor: TensorIr, grid: TensorIr, options: GridSampleOptionsIr, new_id: impl FnOnce() -> TensorId, ) -> GridSample2dOpIr
Create a new operation IR from the given inputs.
new_id should generate a unique TensorId for the uninitialized output tensor.
Trait Implementations§
Source§impl Clone for GridSample2dOpIr
impl Clone for GridSample2dOpIr
Source§fn clone(&self) -> GridSample2dOpIr
fn clone(&self) -> GridSample2dOpIr
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GridSample2dOpIr
impl Debug for GridSample2dOpIr
Source§impl<'de> Deserialize<'de> for GridSample2dOpIr
impl<'de> Deserialize<'de> for GridSample2dOpIr
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for GridSample2dOpIr
impl Hash for GridSample2dOpIr
Source§impl PartialEq for GridSample2dOpIr
impl PartialEq for GridSample2dOpIr
Source§impl Serialize for GridSample2dOpIr
impl Serialize for GridSample2dOpIr
impl StructuralPartialEq for GridSample2dOpIr
Auto Trait Implementations§
impl Freeze for GridSample2dOpIr
impl RefUnwindSafe for GridSample2dOpIr
impl Send for GridSample2dOpIr
impl Sync for GridSample2dOpIr
impl Unpin for GridSample2dOpIr
impl UnwindSafe for GridSample2dOpIr
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