Skip to content

Commit 7181071

Browse files
committed
license info
1 parent 62f274c commit 7181071

File tree

1 file changed

+14
-0
lines changed
  • src/boltz_binder_design/losses

1 file changed

+14
-0
lines changed

‎src/boltz_binder_design/losses/esm.py‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# This file incorporates portions of code from the esm2quinox library,
2+
# created by Patrick Kidger and licensed under the Apache License,
3+
# Version 2.0 (the "License"); you may not use this file except in compliance
4+
# with the License. You may obtain a copy of the License at
5+
#
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
#
8+
# Unless required by applicable law or agreed to in writing, software
9+
# distributed under the License is distributed on an "AS IS" BASIS,
10+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
# See the License for the specific language governing permissions and
12+
# limitations under the License.
13+
114
import jax
215
import numpy as np
316
import equinox as eqx
@@ -18,6 +31,7 @@ def boltz_to_esm_matrix():
1831
return T
1932

2033
def apply_trunk(esm, x, is_pad):
34+
"""Trunk portion of the forward pass of esm2quinox._esm2.ESM2"""
2135
dynamic_layers, static_layer = eqx.partition(esm.layers, eqx.is_array)
2236

2337
def f(x, dynamic_layer):

0 commit comments

Comments
 (0)