pub struct ExtractedKernel {
pub function_name: String,
pub module_path: String,
pub docstring: String,
pub equations: Vec<ExtractedEquation>,
pub arguments: Vec<(String, String)>,
pub return_type: String,
}Expand description
Extracted kernel from a PyTorch source file.
Fields§
§function_name: String§module_path: String§docstring: String§equations: Vec<ExtractedEquation>§arguments: Vec<(String, String)>§return_type: StringTrait Implementations§
Source§impl Clone for ExtractedKernel
impl Clone for ExtractedKernel
Auto Trait Implementations§
impl Freeze for ExtractedKernel
impl RefUnwindSafe for ExtractedKernel
impl Send for ExtractedKernel
impl Sync for ExtractedKernel
impl Unpin for ExtractedKernel
impl UnsafeUnpin for ExtractedKernel
impl UnwindSafe for ExtractedKernel
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