Class PyExecute
Defined in File execute.h
Inheritance Relationships
Base Type
public mindspore::dataset::Execute
Class Documentation
-
class PyExecute : public mindspore::dataset::Execute
Public Functions
-
Status operator()(const std::vector<std::shared_ptr<Tensor>> &input_tensor_list, std::vector<std::shared_ptr<Tensor>> *out)
Callable function to execute the TensorTransform in eager mode (only cpu).
- Parameters
input_tensor_list – [in] List of Tensors to be transformed.
out – [out] Result tensors list after transform.
- Returns
Status error code, returns OK if no error encountered.
-
Status operator()(const std::vector<std::shared_ptr<Tensor>> &input_tensor_list, std::vector<std::shared_ptr<Tensor>> *out)