You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "./gen_client/gen_client.py", line 76, in gen_tensorflow_client
if dtype == int(tf.int8) or dtype == int(tf.uint8) or dtype == int(
TypeError: int() argument must be a string, a bytes-like object or a number, not 'DType'
change
dtype=input_opname_dtype_map[opname]
ifdtypein [6, 4, 5, 17, 3, 22]:
default_value=1elifdtypein [9, 23]:
default_value=1elifdtypein [3]:
default_value=Trueelifdtypein [7]:
default_value=""# if dtype == int(tf.int8) or dtype == int(tf.uint8) or dtype == int(# tf.int16) or dtype == int(tf.uint16) or dtype == int(# tf.int32) or dtype == int(tf.uint32):# default_value = 1# elif dtype == int(tf.int64) or dtype == int(tf.uint64):# default_value = 1# elif dtype == int(tf.int32):# default_value = True# elif dtype == int(tf.string):# default_value = ""
result
is run
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: