Class EmbeddingLookup
Defined in File embedding_lookup.h
Inheritance Relationships
Base Type
public mindspore::ops::BaseOperator
Class Documentation
-
class EmbeddingLookup : public mindspore::ops::BaseOperator
Returns a slice of input tensor based on the specified indices. Refer to Python API mindspore.ops.EmbeddingLookup for more details.
Public Functions
-
inline EmbeddingLookup()
Constructor.
-
void Init(const bool setattr_flag = true)
Init. Refer to the parameters of Python API mindspore.ops.EmbeddingLookup for the inputs.
-
void set_setattr_flag(const bool setattr_flag)
Set setattr_flag.
-
bool get_setattr_flag() const
Get setattr_flag.
- Returns
setattr_flag.
-
inline EmbeddingLookup()