pub struct LowerOptions {
pub target: Target,
pub platform: Platform,
pub donated: Vec<bool>,
}Expand description
How lower_with lowers a function.
Fields§
§target: TargetWhere the StableHLO will be compiled.
platform: PlatformThe kind of device it is compiled for.
donated: Vec<bool>The inputs given to the program for reuse as outputs, as JAX’s
donate_argnums does: an input is aliased with the first unused
output of the same type (tf.aliasing_output), or else marked as a
buffer donor (jax.buffer_donor). Empty donates nothing.
Trait Implementations§
Source§impl Clone for LowerOptions
impl Clone for LowerOptions
Source§impl Debug for LowerOptions
impl Debug for LowerOptions
Auto Trait Implementations§
impl Freeze for LowerOptions
impl RefUnwindSafe for LowerOptions
impl Send for LowerOptions
impl Sync for LowerOptions
impl Unpin for LowerOptions
impl UnsafeUnpin for LowerOptions
impl UnwindSafe for LowerOptions
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