pub struct TensorInputsCompilationArg<EG: Numeric> {
pub lhs: <Tensor<Line<EG>> as LaunchArgExpand>::CompilationArg,
pub lhs_scale: <CubeOption<Tensor<f32>> as LaunchArgExpand>::CompilationArg,
pub rhs: <Tensor<Line<EG>> as LaunchArgExpand>::CompilationArg,
pub rhs_scale: <CubeOption<Tensor<f32>> as LaunchArgExpand>::CompilationArg,
}
Fields§
§lhs: <Tensor<Line<EG>> as LaunchArgExpand>::CompilationArg
§lhs_scale: <CubeOption<Tensor<f32>> as LaunchArgExpand>::CompilationArg
§rhs: <Tensor<Line<EG>> as LaunchArgExpand>::CompilationArg
§rhs_scale: <CubeOption<Tensor<f32>> 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.