Class Cast

Inheritance Relationships

Base Type

  • public mindspore::ops::BaseOperator

Class Documentation

class Cast : public mindspore::ops::BaseOperator

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

Public Functions

inline Cast()

Constructor.