This class represents Blob.
More...
This class represents Blob.
§ __init__()
def ie_api.Blob.__init__ |
( |
|
self, |
|
|
|
tensor_desc = None , |
|
|
|
array |
|
) |
| |
Class constructor.
- Parameters
-
tensor_desc | TensorDesc object describing creating Blob object. |
array | numpy.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: