Java* API Reference for Intel® Data Analytics Acceleration Library 2019 Update 5

List of all members
Batch Class Reference

Computes the cosine distance in the batch processing mode. More...

Class Constructor

Batch ( DaalContext  context,
Batch  other 
)

Constructs the cosine distance algorithm by copying input objects of another cosine distance algorithm

Parameters
contextContext to manage the cosine distance algorithm
otherAn algorithm to be used as the source to initialize the input objects and parameters of the algorithm
Batch ( DaalContext  context,
Class<?extends Number >  cls,
Method  method 
)

Constructs the cosine distance algorithm

Parameters
contextContext to manage the cosine distance algorithm
clsData type to use in intermediate computations for cosine distance, Double.class or Float.class
methodCosine distance computation method, Method

Detailed Description

References

Member Function Documentation

Batch clone ( DaalContext  context)

Returns the newly allocated cosine distance algorithm with a copy of input objects of this cosine distance algorithm

Parameters
contextContext to manage the cosine distance algorithm
Returns
The newly allocated algorithm
Result compute ( )

Computes the cosine distance

Returns
Results of the cosine distance algorithm
void setResult ( Result  result)

Registers user-allocated memory to store results of the cosine distance algorithm

Parameters
resultObject to store the results

Member Data Documentation

Input input

Input data

Method method

Computation method for the algorithm


The documentation for this class was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.