Method__call__ Adds a predefined watermark to the input image Args: image: ([N,] B, RGB, H, W) in range [-1, 1] Returns:
flux-mini/src/flux/util.py:439
Method__call__(self, attn, img, txt, vec, pe, image_proj, ip_scale=1.0, **attention_kwargs)
flux-mini/src/flux/modules/layers.py:246
Method__call__(
self,
attn: nn.Module,
x: Tensor,
vec: Tensor,
pe: Tensor,
i
flux-mini/src/flux/modules/layers.py:413
Method__call__ Adds a predefined watermark to the input image Args: image: ([N,] B, RGB, H, W) in range [-1, 1] Returns:
flux-npu/src/flux/util.py:439
Method__call__(self, attn, img, txt, vec, pe, image_proj, ip_scale=1.0, **attention_kwargs)
flux-npu/src/flux/modules/layers.py:246
Method__call__(
self,
attn: nn.Module,
x: Tensor,
vec: Tensor,
pe: Tensor,
i
flux-npu/src/flux/modules/layers.py:413
Method__init__(self, in_features, out_features, rank=4, network_alpha=None, device=None, dtype=None)
flux-mini/src/flux/modules/layers.py:86
Method__init__(
self,
ch: int,
out_ch: int,
ch_mult: list,
num_res_blocks: int,
flux-mini/src/flux/modules/autoencoder.py:184
Method__init__(self, in_features, out_features, rank=4, network_alpha=None, device=None, dtype=None)
flux-npu/src/flux/modules/layers.py:86