Class IOMonad

Inheritance Relationships

Base Type

Class Documentation

class IOMonad : public mindspore::Monad

IOMonad defines a Value class which related to IO side effect.

Public Functions

inline IOMonad()

Constructor of IOMonad.

~IOMonad() override = default

Destructor of IOMonad.

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

The hash value of the UMonad object.

Check whether the input is IOMonad object.

Get abstract of the IOMonad object.

Returns

The hash value.

Parameters

other[in] Define a Value object.

Returns

Whether the input is IOMonad object.

Returns

The abstract of the IOMonad object.

inline virtual std::string ToString() const override

Show the IOMonad object.

Returns

The description of the IOMonad object.