pub struct StableDiffusionRecordItem<B: Backend, S: PrecisionSettings> {
pub n_steps: <<usize as Module<B>>::Record as Record>::Item<S>,
pub alpha_cumulative_products: <<Param<Tensor<B, 1>> as Module<B>>::Record as Record>::Item<S>,
pub autoencoder: <<Autoencoder<B> as Module<B>>::Record as Record>::Item<S>,
pub diffusion: <<UNet<B> as Module<B>>::Record as Record>::Item<S>,
pub clip: <<CLIP<B> as Module<B>>::Record as Record>::Item<S>,
}Expand description
The record item type for the module.
Fields§
§n_steps: <<usize as Module<B>>::Record as Record>::Item<S>Field to be serialized.
alpha_cumulative_products: <<Param<Tensor<B, 1>> as Module<B>>::Record as Record>::Item<S>Field to be serialized.
autoencoder: <<Autoencoder<B> as Module<B>>::Record as Record>::Item<S>Field to be serialized.
diffusion: <<UNet<B> as Module<B>>::Record as Record>::Item<S>Field to be serialized.
clip: <<CLIP<B> as Module<B>>::Record as Record>::Item<S>Field to be serialized.
Trait Implementations§
source§impl<B: Clone + Backend, S: Clone + PrecisionSettings> Clone for StableDiffusionRecordItem<B, S>
impl<B: Clone + Backend, S: Clone + PrecisionSettings> Clone for StableDiffusionRecordItem<B, S>
source§fn clone(&self) -> StableDiffusionRecordItem<B, S>
fn clone(&self) -> StableDiffusionRecordItem<B, S>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<B: Debug + Backend, S: Debug + PrecisionSettings> Debug for StableDiffusionRecordItem<B, S>
impl<B: Debug + Backend, S: Debug + PrecisionSettings> Debug for StableDiffusionRecordItem<B, S>
source§impl<'de, B: Backend, S: PrecisionSettings> Deserialize<'de> for StableDiffusionRecordItem<B, S>where
<<usize as Module<B>>::Record as Record>::Item<S>: Serialize + DeserializeOwned,
<<Param<Tensor<B, 1>> as Module<B>>::Record as Record>::Item<S>: Serialize + DeserializeOwned,
<<Autoencoder<B> as Module<B>>::Record as Record>::Item<S>: Serialize + DeserializeOwned,
<<UNet<B> as Module<B>>::Record as Record>::Item<S>: Serialize + DeserializeOwned,
<<CLIP<B> as Module<B>>::Record as Record>::Item<S>: Serialize + DeserializeOwned,
impl<'de, B: Backend, S: PrecisionSettings> Deserialize<'de> for StableDiffusionRecordItem<B, S>where
<<usize as Module<B>>::Record as Record>::Item<S>: Serialize + DeserializeOwned,
<<Param<Tensor<B, 1>> as Module<B>>::Record as Record>::Item<S>: Serialize + DeserializeOwned,
<<Autoencoder<B> as Module<B>>::Record as Record>::Item<S>: Serialize + DeserializeOwned,
<<UNet<B> as Module<B>>::Record as Record>::Item<S>: Serialize + DeserializeOwned,
<<CLIP<B> as Module<B>>::Record as Record>::Item<S>: Serialize + DeserializeOwned,
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<B: Backend, S: PrecisionSettings> Serialize for StableDiffusionRecordItem<B, S>where
<<usize as Module<B>>::Record as Record>::Item<S>: Serialize + DeserializeOwned,
<<Param<Tensor<B, 1>> as Module<B>>::Record as Record>::Item<S>: Serialize + DeserializeOwned,
<<Autoencoder<B> as Module<B>>::Record as Record>::Item<S>: Serialize + DeserializeOwned,
<<UNet<B> as Module<B>>::Record as Record>::Item<S>: Serialize + DeserializeOwned,
<<CLIP<B> as Module<B>>::Record as Record>::Item<S>: Serialize + DeserializeOwned,
impl<B: Backend, S: PrecisionSettings> Serialize for StableDiffusionRecordItem<B, S>where
<<usize as Module<B>>::Record as Record>::Item<S>: Serialize + DeserializeOwned,
<<Param<Tensor<B, 1>> as Module<B>>::Record as Record>::Item<S>: Serialize + DeserializeOwned,
<<Autoencoder<B> as Module<B>>::Record as Record>::Item<S>: Serialize + DeserializeOwned,
<<UNet<B> as Module<B>>::Record as Record>::Item<S>: Serialize + DeserializeOwned,
<<CLIP<B> as Module<B>>::Record as Record>::Item<S>: Serialize + DeserializeOwned,
Auto Trait Implementations§
impl<B, S> RefUnwindSafe for StableDiffusionRecordItem<B, S>where
<S as PrecisionSettings>::FloatElem: RefUnwindSafe,
impl<B, S> Send for StableDiffusionRecordItem<B, S>
impl<B, S> Sync for StableDiffusionRecordItem<B, S>
impl<B, S> Unpin for StableDiffusionRecordItem<B, S>where
<S as PrecisionSettings>::FloatElem: Unpin,
impl<B, S> UnwindSafe for StableDiffusionRecordItem<B, S>where
<S as PrecisionSettings>::FloatElem: UnwindSafe,
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