Skip to content

Commit 8e7158b

Browse files
QEDadycopybara-github
authored andcommitted
Automated Code Change
PiperOrigin-RevId: 990158222
1 parent 4a3bae0 commit 8e7158b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎sonnet/src/build.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@ def build(
6666
args = map(_promote_shapes, args)
6767
# NOTE: We use a concrete function to ensure that weights are created and
6868
# initialized, but other stateful ops (e.g. updating weights) are not.
69-
cf = f.get_concrete_function(*args, **kwargs)
69+
cf = f.get_concrete_function(*args, **kwargs) # pyrefly: ignore[missing-attribute]
7070
return tree.map_structure(_maybe_tensor_spec, cf.output_shapes,
7171
cf.output_dtypes)

0 commit comments

Comments
 (0)