Class UMonad

Inheritance Relationships

Base Type

Class Documentation

class UMonad : public mindspore::Monad

UMonad defines a Value class which related to memory side effect.

Public Functions

inline UMonad()

Constructor of UMonad.

~UMonad() override = default

Destructor of UMonad.

MS_DECLARE_PARENT(UMonad, Monad) std abstract::AbstractBasePtr ToAbstract () override

The hash value of the UMonad object.

Check whether the input is UMonad object.

Get abstract of the UMonad object.

Returns

The hash value.

Parameters

other[in] Define a Value object.

Returns

Whether the input is UMonad object.

Returns

The abstract of the UMonad object.

inline virtual std::string ToString() const override

Show the UMonad object.

Returns

The description of the UMonad object.