Class LshProjection

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.

参数

type[in] Define the type of the output.

void set_type(const LshProjectionType &type)

Method to set type attribute.

参数

type[in] Define the type of the output.

LshProjectionType get_type() const

Method to get type attribute.

返回

the type of the output.