Public Member Functions | List of all members
googlenet_custom_layers.PoolHelper Class Reference
Inheritance diagram for googlenet_custom_layers.PoolHelper:

Public Member Functions

def __init__ (self, kwargs)
 
def call (self, x, mask=None)
 
def get_config (self)
 

Detailed Description

Definition at line 36 of file googlenet_custom_layers.py.

Constructor & Destructor Documentation

def googlenet_custom_layers.PoolHelper.__init__ (   self,
  kwargs 
)

Definition at line 38 of file googlenet_custom_layers.py.

38  def __init__(self, **kwargs):
39  super(PoolHelper, self).__init__(**kwargs)
40 

Member Function Documentation

def googlenet_custom_layers.PoolHelper.call (   self,
  x,
  mask = None 
)

Definition at line 41 of file googlenet_custom_layers.py.

41  def call(self, x, mask=None):
42  return x[:,:,1:,1:]
43 
def googlenet_custom_layers.PoolHelper.get_config (   self)

Definition at line 44 of file googlenet_custom_layers.py.

44  def get_config(self):
45  config = {}
46  base_config = super(PoolHelper, self).get_config()
47  return dict(list(base_config.items()) + list(config.items()))

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