Public Member Functions | Data Fields
ie_api.Blob Class Reference

This class represents Blob. More...

Public Member Functions

def __init__ (self, tensor_desc=None, array)
 Class constructor. More...
 
def tensor_desc (self)
 TensorDesc of created Blob.
 

Data Fields

 tensor_desc
 TensorDesc of created Blob.
 

Detailed Description

This class represents Blob.

Constructor & Destructor Documentation

§ __init__()

def ie_api.Blob.__init__ (   self,
  tensor_desc = None,
  array 
)

Class constructor.

Parameters
tensor_descTensorDesc object describing creating Blob object.
arraynumpy.ndarray with data to fill blob memory, The array have to have same elements count as specified in tensor_desc.dims attribute and same elements precision corresponding to tensor_desc.precision. If array isn't provided empty numpy.ndarray will be created accorsing to parameters of tensor_desc
Returns
Instance of Blob class

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