Python* API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

Public Member Functions | List of all members
NextLayers Class Reference

Contains list of layer indices of layers following the current layer. More...

Public Member Functions

def __init__
 Constructs empty list of layer indices of layers following the current layer.
 
def size
 
def push_back
 
def add
 
def __getitem__
 
def __setitem__
 

Detailed Description

Constructor & Destructor Documentation

def __init__ (   self,
  args 
)

Variant 1
Deprecated:
This item will be removed in a future release.

Variant 2

Constructs the list of layer indices by copying the indices from another list of layer indices

Parameters
otherList of layer indices to use as the source to initialize the list of layer indices of layers following the current layer
Deprecated:
This item will be removed in a future release.

Variant 3

Constructs the list of layer indices from one index of the next layer

Parameters
index1First index of the next layer
Deprecated:
This item will be removed in a future release.

Variant 4

Constructs the list of layer indices from two indices of the next layers

Parameters
index1First index of the next layer
index2Second index of the next layer
Deprecated:
This item will be removed in a future release.

Variant 5

Constructs the list of layer indices from three indices of the next layers

Parameters
index1First index of the next layer
index2Second index of the next layer
index3Third index of the next layer
Deprecated:
This item will be removed in a future release.

Variant 6

Constructs the list of layer indices from four indices of the next layers

Parameters
index1First index of the next layer
index2Second index of the next layer
index3Third index of the next layer
index4Fourth index of the next layer
Deprecated:
This item will be removed in a future release.

Variant 7

Constructs the list of layer indices from five indices of the next layers

Parameters
index1First index of the next layer
index2Second index of the next layer
index3Third index of the next layer
index4Fourth index of the next layer
index5Fifth index of the next layer
Deprecated:
This item will be removed in a future release.

Variant 8

Constructs the list of layer indices from six indices of the next layers

Parameters
index1First index of the next layer
index2Second index of the next layer
index3Third index of the next layer
index4Fourth index of the next layer
index5Fifth index of the next layer
index6Sixth index of the next layer
Deprecated:
This item will be removed in a future release.

Member Function Documentation

def __getitem__ (   self,
  i 
)

read operator []

def __setitem__ (   self,
  i,
  v 
)

write operator []

def add (   self,
  index 
)

Adds an element to the end of the collection

Parameters
indexElement to add
Deprecated:
This item will be removed in a future release.
def push_back (   self,
  index 
)

Adds an element to the end of the collection

Parameters
indexElement to add
Deprecated:
This item will be removed in a future release.
def size (   self)

Size of the list of indices

Returns
Size of the list of indices
Deprecated:
This item will be removed in a future release.

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

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