Tensor Flow Helpers

Helpers

Python helper Important functions

type(object)Get object type
help(object)Get help for object (list of available methods, attributes, signatures and so on)
dir(object)Get list of object attributes (fields, functions)
str(object)Transform an object to string object? Shows documentations about the object
globals()Return the dictionary containing the current scope’s global
variables.
locals()Update and return a dictionary containing the current scope’s
local variables.
id(object)Return the identity of an object. This is guaranteed to be unique
among simultaneously existing objects.
import builtin
dir(builtin)
Other built-in functions

Leave a Reply

Your email address will not be published. Required fields are marked *