Class Cast

Inheritance Relationships

Base Type

Class Documentation

class Cast : public mindspore::ops::PrimitiveC

Returns a tensor with the new specified data type. Refer to Python API mindspore.ops.Cast for more details.

Public Functions

inline Cast()

Constructor.

~Cast() = default

Destructor.