Python* API Reference for Intel® Data Analytics Acceleration Library 2019

Public Member Functions | List of all members
LayerDescriptor Class Reference

Class defining descriptor for layer on both forward and backward stages and its parameters. More...

Public Member Functions

def __init__
 
def index
 
def addNext
 
def layer
 
def nextLayers
 

Detailed Description

Constructor & Destructor Documentation

def __init__ (   self,
  args 
)

Variant 1
Constructs an empty layer descriptor with zero index

Variant 2

Constructs a layer descriptor from the provided layer object and an index to be assigned to this object

Parameters
index_Index of the neural network layer
layer_Neural network layer

Variant 3

Constructs a layer descriptor from the provided layer object and an index to be assigned to this object, and the collection of indices of the layers following the current layer in the network

Parameters
index_Index of the neural network layer
layer_Neural network layer
nextLayers_Layers following the current layer in the network

Variant 4
Constructor

Member Function Documentation

def addNext (   self,
  index 
)

Adds index of a layer to the collection of next layers

Parameters
indexIndex to add
def index (   self)

Access to the index of the layer in the network

Returns
Index of the layer in the network
def layer (   self)

Access to the layer in the network

Returns
The layer in the network
def nextLayers (   self)

Access to the collection of indices of the layers following the current layer in the network

Returns
The collection of indices of the layers following the current layer in the network

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

For more complete information about compiler optimizations, see our Optimization Notice.