Skip to main content

PhaseOutputs

The output mapping of a run-once phase: assign each output the schema declares, ctx.outputs['y'] = tensor. Valid only during the phase call.

__init__​

__init__(self, /, *args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

keys​

keyskeys(self) -> list[str]

keys(self) -> list[str]

The names written so far.

update​

updateupdate(self, values: dict) -> None

update(self, values: dict) -> None

Write every entry of a dict of tensors.