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

Method __init__

python/oneflow/nn/modules/pooling.py:673–676  ·  view source on GitHub ↗
(self, output_size: _size_1_t)

Source from the content-addressed store, hash-verified

671 """
672
673 def __init__(self, output_size: _size_1_t) -> None:
674 super().__init__()
675 assert output_size is not None, "'output_size' cannot be NoneType"
676 self.output_size = _single(output_size)
677
678 def forward(self, x):
679 assert (

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected