Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
Discussion options

You must be logged in to vote

@Light-- simple_bind takes the shape (not the data) of a symbol variable. The correct usage is

executor = loss.simple_bind(ctx=cpu(), a=(1,2), b=(1,2))
executor.forward(is_train=True, a=v1, b=v2)

See Symbol.simple_bind

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by szha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants