pub struct ComputeTaskConfig {
pub id: String,
pub op: ComputeOp,
pub inputs: Vec<Option<TensorView>>,
pub outputs: Vec<Option<TensorView>>,
}Fields§
§id: StringOnly needed as a debug aid
op: ComputeOp§inputs: Vec<Option<TensorView>>§outputs: Vec<Option<TensorView>>Implementations§
Source§impl ComputeTaskConfig
impl ComputeTaskConfig
pub fn activity_name(&self) -> &str
Trait Implementations§
Source§impl Clone for ComputeTaskConfig
impl Clone for ComputeTaskConfig
Source§fn clone(&self) -> ComputeTaskConfig
fn clone(&self) -> ComputeTaskConfig
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 Freeze for ComputeTaskConfig
impl RefUnwindSafe for ComputeTaskConfig
impl Send for ComputeTaskConfig
impl Sync for ComputeTaskConfig
impl Unpin for ComputeTaskConfig
impl UnsafeUnpin for ComputeTaskConfig
impl UnwindSafe for ComputeTaskConfig
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