MCPcopy Create free account
hub / github.com/microsoft/TRELLIS / _get_input_size

Method _get_input_size

trellis/utils/elastic_utils.py:157–164  ·  view source on GitHub ↗

Get the size of the input data. Returns: int: The size of the input data.

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

155
156 @abstractmethod
157 def _get_input_size(self, *args, **kwargs) -> int:
158 """
159 Get the size of the input data.
160
161 Returns:
162 int: The size of the input data.
163 """
164 pass
165
166 @abstractmethod
167 def _forward_with_mem_ratio(self, *args, mem_ratio=0.0, **kwargs) -> Tuple[float, Tuple]:

Callers 1

forwardMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected