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

Public Member Functions | List of all members
Result Class Reference

Provides methods to access the result obtained with the compute() method of the forward split layer. More...

Public Member Functions

def serializationTag
 
def getSerializationTag
 
def __init__
 Default constructor.
 
def getResultLayerData
 
def setResultLayerData
 
def getLayout
 
def getValue
 
def check
 
def getValueSize
 
def getValueCollectionSize
 
def allocate_{Float64|Float32}
 
- Public Member Functions inherited from Result
def getValueSize
 
def getValueCollectionSize
 
def getResult
 
def getResultLayerData
 
def setResult
 
def setResultLayerData
 
def getSerializationTag
 
def check
 
def getLayout
 
def setResultForBackward
 
def getValue
 
def allocate_{Float64|Float32}
 
- Public Member Functions inherited from Result
def __init__
 
def getSerializationTag
 
def check
 
- Public Member Functions inherited from SerializationIface
def serialize
 
def deserialize
 
def getSerializationTag
 
- Public Member Functions inherited from Base
def __init__
 
- Public Member Functions inherited from Argument
def __init__
 
def __lshift__
 
def size
 

Detailed Description

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

Constructor & Destructor Documentation

def __init__ (   self)
Deprecated:
This item will be removed in a future release.

Member Function Documentation

def allocate_{Float64|Float32} (   self,
  input,
  parameter,
  method 
)

Allocates memory to store the result of the forward split layer

Parameters
inputPointer to an object containing the input data
parameterParameter of the algorithm
methodComputation method for the algorithm
Returns
Status of computations
Deprecated:
This item will be removed in a future release.
Full Names
  • allocate_Float64 is for float64
  • allocate_Float32 is for float32
def check (   self,
  input,
  par,
  method 
)

Checks the result of the forward split layer

Parameters
inputInput object for the algorithm
parParameter of the algorithm
methodComputation method
Returns
Status of computations
Deprecated:
This item will be removed in a future release.
def getLayout (   self)

Returns the layout of the result object for the layer algorithm

Returns
Layout of the result object for the layer algorithm
Deprecated:
This item will be removed in a future release.
def getResultLayerData (   self,
  args 
)

Variant 1

Returns a tensor with a given index from the result

Parameters
idIdentifier of the collection of input tensors
indexIndex of the tensor to be returned
Returns
Pointer to the table with the input tensor
Deprecated:
This item will be removed in a future release.

Variant 2

Returns result of the layer algorithm

Parameters
idIdentifier of the result
Returns
Result that corresponds to the given identifier
Deprecated:
This item will be removed in a future release.
def getSerializationTag (   self)

getSerializationTag(Result self) -> int

def getValue (   self,
  index 
)

Returns resulting value of the forward split layer

Parameters
indexIndex of the tensor with value
Returns
Resulting value that corresponds to the given index
Deprecated:
This item will be removed in a future release.
def getValueCollectionSize (   self,
  inputSize,
  parameter,
  method 
)

Returns collection of dimensions of split layer output

Parameters
inputSizeCollection of input tensor dimensions
parameterParameters of the algorithm
methodMethod of the algorithm
Returns
Collection of dimensions of split layer output
Deprecated:
This item will be removed in a future release.
def getValueSize (   self,
  inputSize,
  par,
  method 
)

Returns collection of dimensions of split layer output

Parameters
inputSizeCollection of input tensor dimensions
parParameters of the algorithm
methodMethod of the algorithm
Returns
Collection of dimensions of split layer output
Deprecated:
This item will be removed in a future release.
def serializationTag ( )
def setResultLayerData (   self,
  args 
)

Variant 1

Sets the result of the forward split layer

Parameters
idIdentifier of the result
valueResult
Deprecated:
This item will be removed in a future release.

Variant 2

Sets the result of the forward split layer

Parameters
idIdentifier of the result
valueResult
indexIndex of the result
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.