An error is reported when using keras2.0.8 custom layer, and keras2.3.1 can run normally

前端 未结 0 1375
春和景丽
春和景丽 2021-02-01 04:31

Below is my code:

class AttentionOnDims(Layer):
    def __init__(self, **kwargs):
        self.dim = None
        self.kernel = None
        self.built = True
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题