Tensorflow fill op convert issue


#1

The fill op is converted to full op of nnvm sym,but the ‘shpae’ is assigned with inputs[0] which is not tuple,but a nnvm sym
def _fill():
def _impl(inputs, attr, params):
fill_arg = params.pop(inputs.pop(1).list_output_names()[0])
new_inputs = []
return AttrCvt(
op_name=‘full’,
extras={‘shape’:inputs[0]),
‘fill_value’:fill_arg.asnumpy()[0], ‘dtype’:attr[‘T’].name},
ignores=[‘index_type’, ‘T’])(new_inputs, attr)
return _impl


#2

Is this fixing correct?
‘shape’:tuple(attr[’_output_shapes’][0])


#3

Got a same problem here