MCPcopy Create free account
hub / github.com/HanHan55/Graph2plan / _pool_samples

Function _pool_samples

Interface/model/layout.py:132–172  ·  view source on GitHub ↗

Input: - samples: FloatTensor of shape (O, D, H, W) - obj_to_img: LongTensor of shape (O,) with each element in the range [0, N) mapping elements of samples to output images Output: - pooled: FloatTensor of shape (N, D, H, W)

(samples, obj_to_img, pooling='sum')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

boxes_to_layoutFunction · 0.70
masks_to_layoutFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected