Class representing a Tensor, used for inference. More...
Functions | |
| def | alloc (self, TensorParameters, params) |
| Allocates the Tensor memory. More... | |
| def | get_dims (self) |
| Returns the dimensions of the Tensor. More... | |
| def | get_element_count (self) |
| Returns the total number of elements in the Tensor. More... | |
| def | get_parameters (self) |
| Returns the parameters used to create or define the Tensor. More... | |
Class representing a Tensor, used for inference.
| def alloc | ( | self, | |
| TensorParameters, | |||
| params | |||
| ) |
| def get_dims | ( | self | ) |
Returns the dimensions of the Tensor.
| def get_element_count | ( | self | ) |
Returns the total number of elements in the Tensor.
| def get_parameters | ( | self | ) |
Returns the parameters used to create or define the Tensor.