MCPcopy Create free account
hub / github.com/openai/shap-e / load_view

Method load_view

shap_e/rendering/view_data.py:177–183  ·  view source on GitHub ↗

Load the given channels from the view at the given index. :return: a tuple (camera_view, data), where data is a float array of shape [height x width x num_channels].

(self, index: int, channels: List[str])

Source from the content-addressed store, hash-verified

175
176 @abstractmethod
177 def load_view(self, index: int, channels: List[str]) -> Tuple[Camera, np.ndarray]:
178 """
179 Load the given channels from the view at the given index.
180
181 :return: a tuple (camera_view, data), where data is a float array of
182 shape [height x width x num_channels].
183 """
184
185
186class MemoryViewData(ViewData):

Callers 2

from_rgbdMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected