Skip to main content

shaped

Function shaped 

Source
pub fn shaped(
    graph: Value,
    kind: GenerationKind,
    aspect: Aspect,
) -> Result<Value, GenerationError>
Expand description

Reshapes every latent and sampling node of an image graph to aspect.