parameters: (self)
return_statement: return self.lookup_config.vocab_size + self.lookup_config.num_oov_buckets
docstring: Returns vocabulary or hash_bucket size.
docstring_summary: Returns vocabulary or hash_bucket size.
docstring_tokens: Returns vocabulary or hash_bucket size .
function: def length(self):
      """Returns vocabulary or hash_bucket size."""
      if self.bucket_size is not None:
        return self.bucket_size
      return self.lookup_config.vocab_size + self.lookup_config.num_oov_buckets
function_tokens: def length ( self ) : if self . bucket_size is not None : return self . bucket_size return self . lookup_config . vocab_size + self . lookup_config . num_oov_buckets