NotFoundError: [_Derived_]No gradient defined for op: Einsum on Tensorflow 1.15.2
问题 I'm using Tensorflow 1.15.2 for making a WSD system, made with BERt in the Embeddings Layer. This is the code that I use for the model input_word_ids = tf.keras.layers.Input(shape=(64,), dtype=tf.int32, name="input_word_ids") input_mask = tf.keras.layers.Input(shape=(64,), dtype=tf.int32, name="input_mask") segment_ids = tf.keras.layers.Input(shape=(64,), dtype=tf.int32, name="segment_ids") # BERt = BERtLayer()([input_word_ids, input_mask, segment_ids]) bert = hub.KerasLayer("https://tfhub