parameters: (self)
return_statement: return self.init is not None
docstring: Whether tensor is initialized.
docstring_summary: Whether tensor is initialized.
docstring_tokens: Whether tensor is initialized .
function: def has_init(self):
          """Whether tensor is initialized."""
          return self.init is not None
function_tokens: def has_init ( self ) : return self . init is not None