MCPcopy Create free account
hub / github.com/OpenBMB/VisRAG / __init__

Method __init__

timm_modified/timm/layers/classifier.py:78–109  ·  view source on GitHub ↗

Args: in_features: The number of input features. num_classes: The number of classes for the final classifier layer (output). pool_type: Global pooling type, pooling disabled if empty string (''). drop_rate: Pre-classifier dropout rate.

(
            self,
            in_features: int,
            num_classes: int,
            pool_type: str = 'avg',
            drop_rate: float = 0.,
            use_conv: bool = False,
            input_fmt: str = 'NCHW',
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__init__Method · 0.45

Calls 1

create_classifierFunction · 0.85

Tested by

no test coverage detected