Caffe2 - Python API
A deep learning, cross platform ML framework
Public Member Functions | Public Attributes | List of all members
caffe2.python.layers.conv.Conv Class Reference
Inheritance diagram for caffe2.python.layers.conv.Conv:

Public Member Functions

def __init__ (self, model, input_record, output_dim, kernel_h, kernel_w, stride_h, stride_w, pad_b=None, pad_l=None, pad_r=None, pad_t=None, order='NHWC', kernel_init=None, bias_init=None, kernel_optim=None, bias_optim=None, name='conv', kwargs)
def add_ops (self, net)

Public Attributes


Detailed Description

    Convolutional layer
    - input_record: at least has the shape info of C (num_channels)
    - output_dim: number of convolutional filters
    - kernel_h, kernel_w: kernel size for h and w
    - stride_h, stride_w: stride for h and w
    - pad_b, pad_l, pad_r, pad_t: padding sizes, if stride == 1,
                                  'None' value will do auto padding
    - order: either 'NHWC' or 'NCHW'

Definition at line 15 of file

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