MindSpore
C++ API
mindspore
mindspore::kernel
mindspore::dataset
mindspore::dataset::config
mindspore::dataset::text
mindspore::dataset::transforms
mindspore::dataset::vision
mindspore::registry
mindspore::registry::opencl
mindspore::converter
mindspore::abstract
mindspore::change
mindspore::common
mindspore::id_generator
mindspore::label_manage
mindspore::ops
mindspore::prim
mindspore::tensor
mindspore::utils
Example
JAVA API
Class List
Model
MSContext
MSTensor
Graph
RunnerConfig
ModelParallelRunner
Example
MindSpore
»
Template Function mindspore::cast
View page source
Template Function mindspore::cast
Defined in
File base.h
Function Documentation
template
<
typename
T
,
typename
U
>
inline
T
*
mindspore
::
cast
(
U
*
source
)