Class LshProjection
Defined in File lsh_projection.h
Inheritance Relationships
Base Type
public mindspore::ops::BaseOperator
Class Documentation
-
class LshProjection : public mindspore::ops::BaseOperator
LshProjection defined LshProjection operator prototype of lite, which is to project an input to a bit vector.
Public Functions
-
inline LshProjection()
Constructor.
-
void Init(const LshProjectionType &type)
Method to init the op’s attributes.
- Parameters
type – [in] Define the type of the output.
-
void set_type(const LshProjectionType &type)
Method to set type attribute.
- Parameters
type – [in] Define the type of the output.
-
LshProjectionType get_type() const
Method to get type attribute.
- Returns
the type of the output.
-
inline LshProjection()