Skip to content

Commit e57fba0

Browse files
rpachauricopybara-github
authored andcommitted
Clarify and fix documentation.
Addresses the following pull requests: * #1083 * #1079 * #893 PiperOrigin-RevId: 798021344 Change-Id: I51bbc56998b99d53697b9d95e28cf1d55d562291
1 parent aba9765 commit e57fba0

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

alphafold/model/modules.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -556,10 +556,11 @@ def __call__(self, q_data, m_data, mask, nonbatched_bias=None):
556556
557557
Arguments:
558558
q_data: A tensor of queries, shape [batch_size, N_queries, q_channels].
559-
m_data: A tensor of memories from which the keys and values are
560-
projected, shape [batch_size, N_keys, m_channels].
561-
mask: A mask for the attention, shape [batch_size, N_queries, N_keys].
562-
nonbatched_bias: Shared bias, shape [N_queries, N_keys].
559+
m_data: A tensor of memories from which the keys and values are projected,
560+
shape [batch_size, N_keys, m_channels].
561+
mask: A mask for the attention, shape [batch_size, N_heads, N_queries,
562+
N_keys].
563+
nonbatched_bias: Shared bias, shape [N_heads, N_queries, N_keys].
563564
564565
Returns:
565566
A float32 tensor of shape [batch_size, N_queries, output_dim].

run_alphafold.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,9 @@ class ModelsToRelax(enum.Enum):
8989
'database for use by JackHMMer.')
9090
flags.DEFINE_string('pdb70_database_path', None, 'Path to the PDB70 '
9191
'database for use by HHsearch.')
92-
flags.DEFINE_string('pdb_seqres_database_path', None, 'Path to the PDB '
93-
'seqres database for use by hmmsearch.')
92+
flags.DEFINE_string('pdb_seqres_database_path', None, 'Full filepath to the '
93+
'PDB seqres database file (not just the directory) for use '
94+
'by hmmsearch.')
9495
flags.DEFINE_string('template_mmcif_dir', None, 'Path to a directory with '
9596
'template mmCIF structures, each named <pdb_id>.cif')
9697
flags.DEFINE_string('max_template_date', None, 'Maximum template release date '

0 commit comments

Comments
 (0)