We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55277eb commit ff7e3f0Copy full SHA for ff7e3f0
pyzoo/zoo/pipeline/api/net/tf_dataset.py
@@ -40,7 +40,7 @@ def _to_tensor_structure(tensors):
40
elif isinstance(tensors, dict):
41
tensor_structure = {}
42
for key, value in tensors.items():
43
- tensor_structure[key] = TensorMeta(dtype=value[0], shape=value[1], name=key)
+ tensor_structure[key] = TensorMeta(dtype=value[0], shape=value[1], name="input_"+key)
44
else:
45
raise ValueError("In TFDataset.from_rdd, features and labels should be a tuple, "
46
"a list of tuples or a dict of tuples")
0 commit comments