Struct burn_tensor::PrintOptions
source · pub struct PrintOptions {
pub threshold: usize,
pub edge_items: usize,
}
Expand description
Options for Tensor pretty printing
Fields§
§threshold: usize
number of elements to start summarizing tensor
edge_items: usize
number of starting elements and ending elements to display
Auto Trait Implementations§
impl Freeze for PrintOptions
impl RefUnwindSafe for PrintOptions
impl Send for PrintOptions
impl Sync for PrintOptions
impl Unpin for PrintOptions
impl UnwindSafe for PrintOptions
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