PyTimeloop
Loading...
Searching...
No Matches
pytimeloop.timeloopfe.common.version_transpilers.v4_to_v3 Namespace Reference

Functions

 transpile (Specification spec, bool for_model=False, add_spatial_dummy=True)
 Dump a v4 specification to v3 format.
 

Function Documentation

◆ transpile()

pytimeloop.timeloopfe.common.version_transpilers.v4_to_v3.transpile ( Specification spec,
bool for_model = False,
add_spatial_dummy = True )

Dump a v4 specification to v3 format.

!

Parameters
specSpecification object to dump. !
for_modelIf True, dump the specification for timelooop-model. Else, for timeloop-mapper. !
Returns
A string containing the dumped specification in V3 YAML format.