MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / from_inches

Function from_inches

PosterAgent/tree_split_layout.py:481–485  ·  view source on GitHub ↗

Convert from inches back to the original 'units'.

(value_in_inches, units_per_inch=72)

Source from the content-addressed store, hash-verified

479
480
481def from_inches(value_in_inches, units_per_inch=72):
482 """
483 Convert from inches back to the original 'units'.
484 """
485 return value_in_inches * units_per_inch
486
487
488def softmax(logits):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected