Caffe2 - Python API
A deep learning, cross platform ML framework
List of all members
caffe2.python.normalizer_context.UseNormalizer Class Reference
Inheritance diagram for caffe2.python.normalizer_context.UseNormalizer:

Detailed Description

context class to allow setting the current context.
Example useage with layer:
    normalizers = {'norm1': norm1, 'norm2': norm2}
    with UseNormalizer(normalizers):
        norm = NormalizerContext.current().get_normalizer('norm1')
        layer(norm=norm)

Definition at line 28 of file normalizer_context.py.


The documentation for this class was generated from the following file: