[Python] ‘NoneType’ object is not callable

Discussão em 'Python' iniciado por Stack, Julho 24, 2025.

  1. Stack

    Stack Membro Participativo

    updated: tried the code and still got the same error:
    [​IMG]

    import tensorflow as tf
    x = tf.placeholder(dtype, shape=shape, name=name)


    And then this error shows up.


    TypeError: ‘NoneType’ object is not callable

    dtype, shape, name
    ​

    Continue reading...

Compartilhe esta Página