Can't set the attribute “trainable_weights” likely because it conflicts with an existing read-only @property

前端 未结 0 1001
野的像风
野的像风 2020-12-18 11:13

when i define my own layers with tf.keras,like this: def build(self, input_shape): self.input_spec = [InputSpec(shape=input_shape)] shape = (input_shape[self.axis],) #print(

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