Hi,
I has one tf2 model which has node like below:
node { name: “unknown” op: “Placeholder” attr { key: “_output_shapes” value { list { shape { } } } } attr { key: “dtype” value { type: DT_RESOURCE } } attr { key: “shape” value { shape { unknown_rank: true } } } }
while trying do the from_tensorflow to import from gdef to tvm’s relay, TVM report failure as:
0: tvm::runtime::String2DLDataType(std::__cxx11::basic_string<char, std::char_traits, std::allocator >) File “/data/compiler/tvm/include/tvm/runtime/packed_func.h”, line 777 TVMError: In function ir.TensorType(0: Array, 1: DataType) → relay.TensorType: error while converting argument 1: [11:05:21] /data/compiler/tvm/include/tvm/runtime/data_type.h:374: unknown type resource
Does it mean that current tf2 is not fully supported, like the DT_RESOURCE node type? For this kind of model, what we need to do to convert?
Thx