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

Method output_shape

semantic_sam/backbone/backbone.py:42–53  ·  view source on GitHub ↗

Returns: dict[str->ShapeSpec]

(self)

Source from the content-addressed store, hash-verified

40 return 0
41
42 def output_shape(self):
43 """
44 Returns:
45 dict[str->ShapeSpec]
46 """
47 # this is a backward-compatible default
48 return {
49 name: ShapeSpec(
50 channels=self._out_feature_channels[name], stride=self._out_feature_strides[name]
51 )
52 for name in self._out_features
53 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected