Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ docsrc/source/contributing.md
examples/checkpoints/
build
docs/
.venv/
.env


# mypy
Expand Down
4 changes: 2 additions & 2 deletions bayesflow/networks/deep_set/equivariant_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ def __init__(
self.layer_norm = layers.LayerNormalization() if layer_norm else None

@sanitize_input_shape
def build(self, input_shape):
self.call(keras.ops.zeros(input_shape))
def build(self, input_set_shape):
self.call(keras.ops.zeros(input_set_shape))

def call(self, input_set: Tensor, training: bool = False, **kwargs) -> Tensor:
"""Performs the forward pass of a learnable equivariant transform.
Expand Down
4 changes: 2 additions & 2 deletions bayesflow/networks/deep_set/invariant_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,5 @@ def call(self, input_set: Tensor, training: bool = False, **kwargs) -> Tensor:
return set_summary

@sanitize_input_shape
def build(self, input_shape):
self.call(keras.ops.zeros(input_shape))
def build(self, input_set_shape):
self.call(keras.ops.zeros(input_set_shape))