pub struct TensorInputsCompilationArg<EG: Numeric> {
pub lhs: <Tensor<Line<EG>> as LaunchArgExpand>::CompilationArg,
pub rhs: <Tensor<Line<EG>> as LaunchArgExpand>::CompilationArg,
}
Fields§
§lhs: <Tensor<Line<EG>> as LaunchArgExpand>::CompilationArg
§rhs: <Tensor<Line<EG>> as LaunchArgExpand>::CompilationArg
Trait Implementations§
Source§impl<EG: Numeric> Clone for TensorInputsCompilationArg<EG>
impl<EG: Numeric> Clone for TensorInputsCompilationArg<EG>
Source§impl<EG: Numeric> CompilationArg for TensorInputsCompilationArg<EG>
impl<EG: Numeric> CompilationArg for TensorInputsCompilationArg<EG>
Source§fn dynamic_cast<Arg>(&self) -> Argwhere
Arg: CompilationArg,
fn dynamic_cast<Arg>(&self) -> Argwhere
Arg: CompilationArg,
Compilation args should be the same even with different element types. However, it isn’t
possible to enforce it with the type system. So, we make the compilation args serializable
and dynamically cast them. Read more
Source§impl<EG: Numeric> Debug for TensorInputsCompilationArg<EG>
impl<EG: Numeric> Debug for TensorInputsCompilationArg<EG>
Source§impl<'de, EG: Numeric> Deserialize<'de> for TensorInputsCompilationArg<EG>
impl<'de, EG: Numeric> Deserialize<'de> for TensorInputsCompilationArg<EG>
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<EG: Numeric> Hash for TensorInputsCompilationArg<EG>
impl<EG: Numeric> Hash for TensorInputsCompilationArg<EG>
Source§impl<EG: Numeric> PartialEq for TensorInputsCompilationArg<EG>
impl<EG: Numeric> PartialEq for TensorInputsCompilationArg<EG>
Source§impl<EG: Numeric> Serialize for TensorInputsCompilationArg<EG>
impl<EG: Numeric> Serialize for TensorInputsCompilationArg<EG>
impl<EG: Numeric> Eq for TensorInputsCompilationArg<EG>
Auto Trait Implementations§
impl<EG> Freeze for TensorInputsCompilationArg<EG>
impl<EG> RefUnwindSafe for TensorInputsCompilationArg<EG>
impl<EG> Send for TensorInputsCompilationArg<EG>
impl<EG> Sync for TensorInputsCompilationArg<EG>
impl<EG> Unpin for TensorInputsCompilationArg<EG>
impl<EG> UnwindSafe for TensorInputsCompilationArg<EG>
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