Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
b8raoult committed Oct 23, 2024
1 parent 3f0caa6 commit 1cd2642
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@
print(f)


ipipe = pipeline.to_infernece()
# ipipe = pipeline.to_infernece()
7 changes: 6 additions & 1 deletion src/anemoi/transform/sources/mars.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,15 @@ def forward(self, data):

def __ror__(self, data):

class Input:
this = self

class Input(Source):
def __init__(self, data):
self.data = data

def forward(self, data):
return this.forward(self.data)

return Input(data)


Expand Down

0 comments on commit 1cd2642

Please sign in to comment.