MindSpore
C++ API
mindspore
mindspore::NN
mindspore::api
mindspore::api::utils
mindspore::converter
mindspore::dataset
mindspore::dataset::config
mindspore::dataset::text
mindspore::dataset::transforms
mindspore::dataset::vision
mindspore::kernel
mindspore::ops
mindspore::registry
mindspore::registry::opencl
Example
JAVA API
Class List
Model
ModelParallelRunner
MSContext
MSTensor
RunnerConfig
Graph
Example
Python API
mindspore_lite
C API
context_c
data_type_c
format_c
model_c
tensor_c
types_c
Example
MindSpore
»
Function mindspore::NN::Input
View page source
Function mindspore::NN::Input
Defined in
File net.h
Function Documentation
std
::
unique_ptr
<
Node
>
mindspore
::
NN
::
Input
(
std
::
vector
<
int
>
dims
,
DataType
data_type
=
DataType
::
kNumberTypeFloat32
,
int
fmt
=
NHWC
)