MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / __init__

Method __init__

python/oneflow/nn/modules/pooling.py:849–852  ·  view source on GitHub ↗
(self, output_size, return_indices: bool = False)

Source from the content-addressed store, hash-verified

847
848class _AdaptiveMaxPoolNd(Module):
849 def __init__(self, output_size, return_indices: bool = False) -> None:
850 super(_AdaptiveMaxPoolNd, self).__init__()
851 self.output_size = output_size
852 self.return_indices = return_indices
853
854 def extra_repr(self) -> str:
855 return "output_size={}".format(self.output_size)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected