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. | |
This class represents Blob.
| def ie_api.Blob.__init__ | ( | self, | |
tensor_desc = None, |
|||
| array | |||
| ) |
Class constructor.
| 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 |