I am getting syntax error
Course Q&A
TensorFlow: Advanced Techniques Specialization
Custom Models, Layers and Loss Functions with TF
Hi @S.Dheeraj,
Try removing comma at the last in the following line
self.c = tf.Variable( … … …,trainable = True)
If I remove that comma it is showing
File “”, line 30
super().build(input_shape)
^
SyntaxError: invalid syntax
Hi @S.Dheeraj,
remove this line, You do not have to call super().
Let me know, if you still face issues.
Hi@Girijesh
It is showing like this
def call(self,inputs):
^
SyntaxError: invalid syntax
Hi@Girijesh
Can u please tell me the changes I need to make to solve the SyntaxError