Search.setIndex({"docnames": ["attention", "helper_functions", "index", "modules"], "filenames": ["attention.rst", "helper_functions.rst", "index.rst", "modules.rst"], "titles": ["attention module", "helper_functions module", "Welcome to parsanlp\u2019s documentation!", "parsanlp"], "terms": {"class": 0, "attentionhead": [0, 3], "arg": 0, "kwarg": 0, "sourc": [0, 1], "base": 0, "layer": 0, "A": 0, "repres": 0, "singl": 0, "head": 0, "multi": 0, "mechan": 0, "paramet": 0, "dmodel": 0, "int": 0, "The": 0, "dimension": 0, "model": 0, "call": [0, 3], "input": 0, "thi": 0, "i": 0, "where": 0, "": 0, "logic": 0, "live": 0, "method": 0, "mai": 0, "creat": 0, "state": 0, "except": 0, "its": 0, "first": 0, "invoc": 0, "wrap": 0, "creation": 0, "variabl": 0, "other": 0, "resourc": 0, "tf": 0, "init_scop": 0, "It": 0, "recommend": 0, "__init__": 0, "build": 0, "automat": 0, "befor": 0, "execut": 0, "time": 0, "tensor": 0, "dict": 0, "list": 0, "tupl": 0, "posit": 0, "argument": 0, "subject": 0, "special": 0, "rule": 0, "must": 0, "explicitli": 0, "pass": 0, "cannot": 0, "have": 0, "zero": 0, "provid": 0, "via": 0, "default": 0, "valu": 0, "keyword": 0, "numpi": 0, "arrai": 0, "python": 0, "scalar": 0, "get": 0, "cast": 0, "kera": 0, "mask": 0, "metadata": 0, "onli": 0, "collect": 0, "from": 0, "ar": 0, "built": 0, "input_shap": 0, "us": 0, "shape": 0, "info": 0, "input_spec": 0, "compat": 0, "check": 0, "against": 0, "mix": 0, "precis": 0, "appli": 0, "If": 0, "ha": 0, "behavior": 0, "should": 0, "handl": 0, "manual": 0, "savedmodel": 0, "specif": 0, "gener": 0, "integr": 0, "variou": 0, "ecosystem": 0, "packag": 0, "like": 0, "tfmot": 0, "tflite": 0, "j": 0, "etc": 0, "support": 0, "addit": 0, "contain": 0, "although": 0, "reason": 0, "abov": 0, "follow": 0, "option": 0, "reserv": 0, "train": 0, "boolean": 0, "indic": 0, "whether": 0, "meant": 0, "infer": 0, "take": 0, "set": 0, "previou": 0, "did": 0, "come": 0, "correspond": 0, "e": 0, "came": 0, "return": 0, "multiheadattent": [0, 3], "h": 0, "number": 0, "aka": 0, "output": 0, "vector": 0, "dim": 0, "create_tensorboard_callback": [1, 3], "log_dir": 1, "name": 1, "unzip_data": [1, 3], "filenam": 1, "attent": [2, 3], "modul": [2, 3], "helper_funct": [2, 3], "index": 2, "search": 2, "page": 2}, "objects": {"": [[0, 0, 0, "-", "attention"], [1, 0, 0, "-", "helper_functions"]], "attention": [[0, 1, 1, "", "AttentionHead"], [0, 1, 1, "", "MultiHeadAttention"]], "attention.AttentionHead": [[0, 2, 1, "", "call"]], "attention.MultiHeadAttention": [[0, 2, 1, "", "call"]], "helper_functions": [[1, 3, 1, "", "create_tensorboard_callback"], [1, 3, 1, "", "unzip_data"]]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:function"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "function", "Python function"]}, "titleterms": {"attent": 0, "modul": [0, 1], "helper_funct": 1, "welcom": 2, "parsanlp": [2, 3], "": 2, "document": 2, "content": 2, "indic": 2, "tabl": 2}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 8, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1, "sphinx": 57}, "alltitles": {"attention module": [[0, "module-attention"]], "helper_functions module": [[1, "module-helper_functions"]], "Welcome to parsanlp\u2019s documentation!": [[2, "welcome-to-parsanlp-s-documentation"]], "Contents:": [[2, null]], "Indices and tables": [[2, "indices-and-tables"]], "parsanlp": [[3, "parsanlp"]]}, "indexentries": {"attentionhead (class in attention)": [[0, "attention.AttentionHead"]], "multiheadattention (class in attention)": [[0, "attention.MultiHeadAttention"]], "attention": [[0, "module-attention"]], "call() (attention.attentionhead method)": [[0, "attention.AttentionHead.call"]], "call() (attention.multiheadattention method)": [[0, "attention.MultiHeadAttention.call"]], "module": [[0, "module-attention"], [1, "module-helper_functions"]], "create_tensorboard_callback() (in module helper_functions)": [[1, "helper_functions.create_tensorboard_callback"]], "helper_functions": [[1, "module-helper_functions"]], "unzip_data() (in module helper_functions)": [[1, "helper_functions.unzip_data"]]}})