Open james47 opened 10 months ago
As we pass in variables by name when functions are called then having something without a name is going to break if you skip the validation (unless you don't use that argument). For outputs it might just about be possible to make it work, I'm not sure if we have a way of dealing with things by position. How do you call this function from TF Python?
Was trying to load a model using
SavedModelBundle.load(savedModelPath, "serve")
but ran into theoperand "" does not exist on the graph
issue. Error log:Looking into Tensorflow Java source code this error is raised here.
And by inspecting the model being loaded the corresponding input tensor is
coo_sparse
encoded:It appears to me that when building
TensorDescription
the library doesn't takecoo_sparse
encoded format into account: code link: it's trying to fetch thename
field which is always empty forcoo_sparse
encoded format, because together with thename
field it's oneof inTensorInfo
proto: code link.Is this a known unsupported feature or would the model loading just work if the validation is bypassed?