mxnet icon indicating copy to clipboard operation
mxnet copied to clipboard

How to assign a variable with shape

Open feiyulv opened this issue 10 years ago • 2 comments

Is there any convenient way to assign a variable with shape when constructing a graph?

feiyulv avatar Oct 19 '16 01:10 feiyulv

mx.symbol.Variable('data',shape=(2,2,2,2))

chenboheng avatar Oct 19 '16 05:10 chenboheng

@chenboheng thx

feiyulv avatar Oct 19 '16 06:10 feiyulv