Open
Description
I am trying to use Reshape like this
var x = _graph.Placeholder(TFDataType.Float, new TFShape(-1, inputHeight * inputWidth), "state");
var _x= _graph.Reshape(x, _graph.VariableV2(new TFShape(-1,inputWidth,inputHeight,1), TFDataType.Int32));
or
var x = _graph.Placeholder(TFDataType.Float, new TFShape(-1, inputHeight * inputWidth), "state");
var shape_variable = _graph.Shape(_graph.VariableV2(new TFShape(shapes), TFDataType.Float));
var _x= _graph.Reshape(x, shape_variable);
the result puzzle me exceedingly.
What is the correct way to use it?(how to convert TFShape to TFOutput?)