MCPcopy Create free account
hub / github.com/UX-Decoder/Semantic-SAM / output_shape

Method output_shape

semantic_sam/backbone/swin.py:827–834  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

825 return outputs
826
827 def output_shape(self):
828 feature_names = list(set(self._out_feature_strides.keys()) & set(self._out_features))
829 return {
830 name: ShapeSpec(
831 channels=self._out_feature_channels[name], stride=self._out_feature_strides[name]
832 )
833 for name in feature_names
834 }
835
836 @property
837 def size_divisibility(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected