Class ov::reference::philox::PhiloxConverter#

class PhiloxConverter#

Subclassed by ov::reference::philox::MockPhiloxConverter, ov::reference::philox::PyTorchPhiloxConverter, ov::reference::philox::TensorflowPhiloxConverter

Public Functions

virtual size_t get_converted_elements_count() const = 0#

Returns the number of generated elements per execution based on the requested data type.

virtual void convert(const PhiloxOutput result, size_t k) = 0#

Converts the given array (PhiloxOutput) to the target dtype and assigns them at the k-th index of the output array.