You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Some users need to define user-specific information for generating a decoder and process it into different forms before generation. Currently, the mcdecoder cannot process user-specific information before generation,
Describe the solution you'd like
Add a functionality to import user code to process user-specific information into a different form.
Possible implementations for this are:
Define a python hook function to process user-specific information and refer it from MC description
Define a python hook function to process user-specific information and register to mcdecoder
python config file
frommcdecoder.coreimportInstructionDecoder, Environment# define a hook functiondefprocess_instruction(instruction: InstructionDecoder) ->None:
instruction.extras= ...
# register a hook function to the environmentEnvironment.add_process_instruction_hook(process_instruction)
Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Some users need to define user-specific information for generating a decoder and process it into different forms before generation. Currently, the mcdecoder cannot process user-specific information before generation,
Describe the solution you'd like
Add a functionality to import user code to process user-specific information into a different form.
Possible implementations for this are:
Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: